Jump to content
  • Advertisement
  • entries
    1212
  • comments
    1738
  • views
    1145497

Gotta Good Thing

Sign in to follow this  
johnhattan

97 views

Been looking for a decent leak-tracker for quite some time. The STL smart-pointer stuff just strikes me as anti-intuitive and cumbersome, and I had some good past experiences with the non-intrusive ones (i.e. Bounds Checker), which had saved my bacon a couple of times by reporting on stuff that I did wrong.

Anyway, I decided to try one of those little tiny free heap-trackers, specifically Fluid Studios Memory Manager. It's just a little #include and piece of C-code that logs allocations and reports on any bonehead stuff you've done. It works beautifully, finding a memory leak in my stuff almost immediately. In addition, it's got a couple of #define's to do extra stuff like logging all allocations or even randomly failing so you can see how gracefully your app handles a crash. It's 100% free, so you've got nothing to lose in using it.

Note, though, that this only tracks new() and malloc() for you. The commercial tools, like the aforementioned Bounds Checker, find lots more stuff for you, like un-freed GDI handles and such. Still, you can't beat the price and I bet it'll find something in your code.
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!