954,496 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Memory leaks

Hi!

Created application is working toooo slow, looks like there are a lot of memory leaks, there are a lot of pointers. So, please, can you advice some effective tool for run-time errors and memory leaks detection in Visual Studio C++?

Qusto
Newbie Poster
5 posts since Nov 2009
Reputation Points: 5
Solved Threads: 0
 

use std::auto_ptr instead of raw pointers. Use boost's smart pointers
instead of raw pointers. Make sure every call to new is matched with a call
to delete.

firstPerson
Senior Poster
3,923 posts since Dec 2008
Reputation Points: 841
Solved Threads: 608
 

Hi!

Created application is working toooo slow, looks like there are a lot of memory leaks, there are a lot of pointers. So, please, can you advice some effective tool for run-time errors and memory leaks detection in Visual Studio C++?


I think you search deleaker....
better late than never:icon_neutral:

MastAvalons
Light Poster
31 posts since Jan 2012
Reputation Points: 10
Solved Threads: 1
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You