Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: 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 ( [id://51824]=note: print w/replies, xml ) Need Help??


in reply to How do I find the memory used by a particular hash (NOT including perl itself)?

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 Re: 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://51824]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-19 03:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found