in reply to Memory allocation and monitoring
I think %hash=() will not actually free any memory, but undef %hash will.
If you're trying to monitor memory used by one variable, I think Devel::Size is your best option. If you want to monitor the size of the whole perl process, I think you'll have to go to the OS for that. How that works depends on your OS.
|
|---|