rumos2 has asked for the wisdom of the Perl Monks concerning the following question:

Hi all, again :)

1. How can I definetly know, how much of bytes in memory takes some variable (array, string, hash, number) at anytime of running code.
2. How can I check - was variable and it's buffer deleted from memory adter making undef ? So I talking not about deleting hash key, or about undef($SomeReference) - but about operational copyes, which will deletes only after process death, but can still exist within infinite while.
3. How can I get to know - was at "this runtime" any undeleted data, or undeleted runtime object copyes, etc.; i.e. how can I check process variables table.

Want to get some links for documents which describes this at all.
  • Comment on question 2nd - memory usage, memory leaks, etc.

Replies are listed 'Best First'.
Re: question 2nd - memory usage, memory leaks, etc.
by Anonymous Monk on Sep 23, 2013 at 22:32 UTC