Jump to content
  • Advertisement
Sign in to follow this  
DarkNebula

Memory leak, or something like that

This topic is 5111 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 not sure if it's called that but I use a whole bunch of virtual memory stuff like = new blah then I delete it, but when I go from the main menu to the options menu then back to the main menu, I gain memory useage in the Windows Task Manager. Is there anyway I can figure out where it's coming from?

Share this post


Link to post
Share on other sites
Advertisement
Is it that you think a program you've coded is leaking memory? If so, I would just code a memory manager (or find one on google) that keeps track of all memory allocations and deallocations.

Share this post


Link to post
Share on other sites
2DarkNebula: Use BoundsChecker and Intel VTune Perfomance Analyzer - two programs I've found extremely useful to detect memory leaks, perfomance bottlenecks and many other things.

Share this post


Link to post
Share on other sites
That link for the Flipcode Memory manager doesn't work. I was going to look into it because I'm reprogramming the one that I based on superpig's tutorial here. It has worked very well for me, takes some tweaking to get working across all platforms (at least, to compile under GCC3 and VC++ 8). Includes smart pointers and garbage collector; very nice tutorial.

Share this post


Link to post
Share on other sites
Well I can't really use Intel VTune Perfomance Analyzer I just tired it and it seems it doesn't really like athlon too much (I wonder why, lol) Are there any free leak checkers?

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!