in reply to Why does my script exit with "Killed" - that's all...

Is there a way to measure the size of my data structures while the script is running?
If so, I could test my structures for size every few cycles and see if there is a memory leak I didn't thought of.
  • Comment on Re: Why does my script exit with "Killed" - that's all...

Replies are listed 'Best First'.
Re^2: Why does my script exit with "Killed" - that's all...
by dsheroh (Monsignor) on Jul 20, 2007 at 14:12 UTC
    I typically watch this by running top and keeping an eye on the VIRT (total memory usage) and/or RES (physical/non-swap memory usage) columns.