Hi All
I have an application that spawns nearly 100 processes at a time, when
those many processes are spawned at the same time the virtual memory
becomes almost full. I use PdhCollectQueryDataEx() function
periodically to get cpu, memory statistics of different processes. It
looks like when virtual memory becomes almost full the function
mentioned above or any other pdh....() function hangs. The function
does not return but hangs even after some of the processes are killed
to make some memory free. Did anyone face this problem? Why is it so?
what is the solution?
Thanks in advance
Subrahmanya