Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Answer: How do I find the memory used by a particular hash (NOT including perl itself)?

by crazyinsomniac (Prior)
on Jan 15, 2001 at 03:33 UTC ( #51824=categorized answer: print w/replies, xml ) Need Help??

Q&A > programs and processes > How do I find the memory used by a particular hash (NOT including perl itself)? - Answer contributed by crazyinsomniac

The real size of a hash is os dependant right?
Is there a place like perlguts that talks about how hashes are stored on each os?
If so would ut be possible to calculate or 'estimate' the real size of a hash? Like 2k would be for the pointer and 'index' and x times the length of an $hash{'element'}.

If anyone knows these details please help out.

  • Comment on Answer: How do I find the memory used by a particular hash (NOT including perl itself)?
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2016-09-30 07:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (562 votes). Check out past polls.