in reply to Cleaning up threads so they do not leak memory. (Win32)

Why is $endmem so much more than $startmem?

Does Perl on Windows give back memory to the OS when it frees it? I expect this program to hit a highwater mark and stay there until the program ends.

Are you using a custom memory allocation scheme that can compact the heap?

  • Comment on Re: Cleaning up threads so they do not leak memory. (Win32)