10,000 objects is not a particularly large hash. I've created hashes with millions of keys. That said, your hash seems to be a multi-level HoHoH...which will consume prodgious amounts of space. But like argel, I doubt that space is the problem here.

Are you sure that all your 10572 objects are unique? Remember that hashes won't retain duplicates. At any level. if the keys are identical then later values will overwrite easrlier ones. Eg. If you have two objects in your file like:

( :netobj (netobj : (object12345 :DAG (false) :add_adtr_rule (false) :cp_products_installed (false) :data_source (not-installed) :enforce_gtp_rate_limit (false) :firewall (not-installed) :floodgate (not-installed) :gtp_rate_limit (2048) :ipaddr (10.1.1.1) :type (host) :IPSec_main_if_nat (false) ) ) ) ( :netobj (netobj : (object12345 :DAG (true) :add_adtr_rule (false) :cp_products_installed (false) :data_source (not-installed) :enforce_gtp_rate_limit (false) :firewall (not-installed) :floodgate (not-installed) :gtp_rate_limit (4096) :ipaddr (100.10.10.10) :type (client) :IPSec_main_if_nat (false) ) ) )

Even though the details of the object are different, only the last one will be retained in the hash because the names are the same, and the second one will overwrite the first.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."

In reply to Re: Limitation of extra large hash by BrowserUk
in thread Limitation of extra large hash by morpheous1129

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.