Jump to content
  • Advertisement
Sign in to follow this  
Matt328

Strange CPU/Memory Usage

This topic is 4488 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

My project is a game engine, but I figured this question belongs here since it seems to be a general programming issue and could happen regardless of what I'm programming. That being said, when I first built and ran the program, it sucked up 50% CPU usage, and ~35mb of memory. Those numbers were fairly constant throughout numerous builds. My most recent build, I left the program run for about 15 minutes (I had to leave the computer) When I came back, CPU usage was at 5% and memory was ~6mb. Now, CPU usage is always below 6%, but the memory usage is always above 34mb. Does anyone know why all of the sudden without making any changes, it uses less CPU time?

Share this post


Link to post
Share on other sites
Advertisement
The CPU and memory usage numbers you see in the Task Manager are not very useful. Ignore them. The change is probably due to another process taking up a lot of the CPU or your engine doing a lot of waiting, and the OS decided to reclaim some of the memory.

Share this post


Link to post
Share on other sites
At the least, add in the "Virtual Memory Size" column.

The data still isn't that useful (to a pathological degree @_@), but it is more useful.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!