Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
While I am running my application, my system is getting very very slow. What I have to do for that? Do you have any idea please share with me.
Posted
Comments
Sergey Alexandrovich Kryukov 12-Oct-11 1:54am    
Not enough information. There are millions of reasons. You don't have a chance to get really useful advice from people who don't see your project.
--SA
Smithers-Jones 12-Oct-11 9:48am    
My guess would be, that your computer is positioned in a bad place, like on a water vein or above some gigantic deepdown geode, that is focusing some so far unknown cosmic radiation from the other side of the galaxy directly on your motherboard, thus slowing things a bit down. It might be of course something totally different and straighforward, but since you told us nothing you will get nothing.

If you are not doing anything computationally expensive, then you have a memory leak in your program.

Check the task manager and find your program and see how much memory it is using.
 
Share this answer
 
Comments
divirakshana 12-Oct-11 1:58am    
My application is using 6272K only.
Mehdi Gholam 12-Oct-11 2:10am    
Then you will have to explain what your application is doing.
Building on Mehdi solution.

If you indeed have a memory leak have a look at this on Visual Leak Detector - Enhanced Memory Leak Detection for Visual C++[^] how to solve it.
 
Share this answer
 
Comments
Mehdi Gholam 12-Oct-11 1:54am    
One of the nuggets on CP, referenced it before, my 5!
André Kraak 12-Oct-11 2:07am    
Thanks.
Hi,

Try ro check also loops and looping conidtions, if there is an infinite loop it will consume all the CPU and make your system slow down.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900