in reply to Re: break out of enless loop does not release memory
in thread break out of enless loop does not release memory

Interisting concept. It ried your Idea but what happend is the virtual memory grew every time it executed the exec

Interesting was: when I ran out of virtual memory I had to close the cmd.exe and the windows popped up the END NOW window, when I clicked END NOW it released a block of the used virtual memory, any Ideas why this happens

Thank you for your time

  • Comment on Re^2: break out of enless loop does not release memory

Replies are listed 'Best First'.
Re^3: break out of enless loop does not release memory
by cdarke (Prior) on Feb 21, 2007 at 17:22 UTC
    How are you running this script? I would expect the process to end when the script ends, but some engines keep the process in memory and just restart the script. Your comments about cmd.exe are interesting, and implies some kind of zombie process, but they should not take much memory, even on Windows (a couple of 4kb pages, last time I looked).