Ge van Geldorp wrote:
What I see is that the TEBs are properly freed,
but the stack (2Mb of committed memory) isn't. That happens
because the threads don't terminate themselves, ...
While I haven't looked at the application at hand, 2MB _committed_ stack
strikes me as odd. Are the two threads actually created with 1MB committed
stack, are they using the whole megabyte of the usually only reserved
memory, or is the PE header stack members set to unusual values?
Default used to be 1MB of reserved stack, with only one page committed.
/Mike