Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ > PdhCollectQuery...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 45870 of 47924
Post > Topic >>

PdhCollectQueryDataEx hangs

by subrahmanya <subrahmanya.m84@[EMAIL PROTECTED] > May 11, 2008 at 10:17 PM

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
 




 2 Posts in Topic:
PdhCollectQueryDataEx hangs
subrahmanya <subrahman  2008-05-11 22:17:19 
Re: PdhCollectQueryDataEx hangs
"Victor Bazarov"  2008-05-12 08:33:48 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 6 16:29:36 CDT 2008.