Jump to content
  • Advertisement
Sign in to follow this  
Matt328

SDL and Vista

This topic is 4059 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

I'm getting started with SDL, and have written a simple app that draws a white triangle to the screen using OpenGL. Problem is on Vista, the program leaks memory like a sieve according to the task manager. On XP however, the program holds steady at a little over 2MB. I'm building with Visual Studio 2005 with SDL 1.2.11 on each system. I've heard the task manager is not to be trusted, but something about this just doesn't look right. Does anyone have any ideas?

Share this post


Link to post
Share on other sites
Advertisement
Where in the task manager does it show this leaking? I guess I never seen it or knew there was way to check that... AFAIK I am not having any issues with SDL on Vista Ultimate 32bit.

Share this post


Link to post
Share on other sites
It looks like I might have spoke too soon. The Memory (Private Working Set) column on the Processes page of the task manager reports the memory usage starting off around 4,800K and it slowly crawls up to around 5,700K where it seems to stabilize. I know Vista's memory usage is dramatically different from XP's so I'm guessing this is normal.

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!