Grab the GTop module from CPAN. Use it to get the memory size of your process after you start up and have loaded whatever modules. Create one of your data structures and look at memory usage. Subtract. :)
The mod_perl guide has some good info on this, and I think there were some articles on Apache Week by Stas (author of the mod_perl guide) as well recently. Granted that's skewed towards a mod_perl perspective, but it's a starting place.
In reply to Re: How to Calculate Memory Needs?
by Fletch
in thread How to Calculate Memory Needs?
by mrbbking
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |