While running my application , Machine (PC) gets slow
-
HI, When I run my application ( Multi threaded application- MFC based Socket , with which I Recive the file from Client/Sender). The machine gets slow ( that as explorer response is slow some times) After getting few files. Why its the machine (PC) get slow. How can I check it , How can I improve my app that it do not effects the system. Thannks Regards.
-
HI, When I run my application ( Multi threaded application- MFC based Socket , with which I Recive the file from Client/Sender). The machine gets slow ( that as explorer response is slow some times) After getting few files. Why its the machine (PC) get slow. How can I check it , How can I improve my app that it do not effects the system. Thannks Regards.
You can use perfmon utility that is shipped with windows this will atleast give you some idea. Somethings seem HARD to do, until we know how to do them. ;-) _AnShUmAn_
-
You can use perfmon utility that is shipped with windows this will atleast give you some idea. Somethings seem HARD to do, until we know how to do them. ;-) _AnShUmAn_
-
HI, When I run my application ( Multi threaded application- MFC based Socket , with which I Recive the file from Client/Sender). The machine gets slow ( that as explorer response is slow some times) After getting few files. Why its the machine (PC) get slow. How can I check it , How can I improve my app that it do not effects the system. Thannks Regards.
Try _AnShUmAn_'s idea; you need to determine why it's getting slow. Is it consuming too much CPU time? Is it consuming too much memory? Even task manager can be a big help with this. Steve
-
Try _AnShUmAn_'s idea; you need to determine why it's getting slow. Is it consuming too much CPU time? Is it consuming too much memory? Even task manager can be a big help with this. Steve
-
OK, IF its CPU consuming hten how can handle it , otherwise if its memory using how can I handle it Regards.
None of these questions have a useful generic answer apart from the obvious. i.e. Use less CPU time/memory. First things first: identify the problem. Steve
-
None of these questions have a useful generic answer apart from the obvious. i.e. Use less CPU time/memory. First things first: identify the problem. Steve
-
HI, I have check CPU usage is 99% , while memory usage is 3500 K So how can I reduce CPU usage for my application so that other application aslo run smothly Regards.
You need to find out which part of you code is consuming all the CPU time. You could try a profiler. There is also the "poor man's profiler": run the program in a debugger and break execution multiple times and see what the program is doing. Steve
-
Could you please tell me Where this utility is. How I can open and use it ( its location /path) and some using hints Thanks Regards.
One way is to go to the Run option in the Start Menu and type perfmon. Another one is to go to the Administrative Tools in Start Menu>Settings>Control Panel>Administrative Tools>Performance Somethings seem HARD to do, until we know how to do them. ;-) _AnShUmAn_
-
You need to find out which part of you code is consuming all the CPU time. You could try a profiler. There is also the "poor man's profiler": run the program in a debugger and break execution multiple times and see what the program is doing. Steve
-
HI, I have check CPU usage is 99% , while memory usage is 3500 K So how can I reduce CPU usage for my application so that other application aslo run smothly Regards.
He, I think your code may have infinity loop. Like this: while(i < 100){ //forget increase i //i++; } Check the loops in your code.
-
He, I think your code may have infinity loop. Like this: while(i < 100){ //forget increase i //i++; } Check the loops in your code.
The "poor man's profiler" will find this one. Steve