Re: CreateThread Fails with ERROR_NOT_ENOUGH_MEMORY....




> Well, It's a 4CPU box with 4Gigs RAM. What you are saying might be
> correct, but I am having no luck with !address -summary . That command
> is failing on my box. Let me see if there can be other ways to achieve
> the same.
>

!address will not work on Win2000 (AFAIR it needs full symbols to work there,
public symbols are not enough).

You can try !vadump command and look for pages with PAGE_GUARD protection
to find the stacks. It is not as convenient as !address but still can help.

Another option is Vadump from Resource Kit tools, it also can show some
statistics about memory usage.

Regards,
Oleg
[VC++ MVP]



.