-
May 30th, 2012, 03:18 PM
#1
Thread Starter
Junior Member
Need help with memory leaks
Hi everybody. For my program, I use the library, similar to GDAL. When the quick search is generatinga in the program (specific area), there are memory leaks. Used Visual Leak Detector, but the program freezes and verification has not been fully performed. This detector advises developer of GDAL. There may be more effective debuggers?
Thanks!
-
May 31st, 2012, 03:52 PM
#2
Junior Member
Re: Need help with memory leaks
Originally Posted by Jokeman
Hi everybody. For my program, I use the library, similar to GDAL. When the quick search is generatinga in the program (specific area), there are memory leaks. Used Visual Leak Detector, but the program freezes and verification has not been fully performed. This detector advises developer of GDAL. There may be more effective debuggers?
Thanks!
I advise Deleaker but you can use any GDI leaks debugger
-
Jun 1st, 2012, 03:18 PM
#3
Thread Starter
Junior Member
Re: Need help with memory leaks
mmmm... Thank you? but problem is actual
-
Jun 4th, 2012, 02:20 PM
#4
Junior Member
Re: Need help with memory leaks
Memory leaks are actual always (headache)
-
Jun 5th, 2012, 04:48 PM
#5
Member
Re: Need help with memory leaks
VLD, Valgrind, Purify, Memcheck..... Profit!
-
Jun 8th, 2012, 03:19 PM
#6
Junior Member
Re: Need help with memory leaks
Originally Posted by Big Pig
VLD, Valgrind, Purify, Memcheck..... Profit!
oMG You really expert - debugger :
-
Jun 11th, 2012, 03:25 PM
#7
Member
Re: Need help with memory leaks
Yes I AM
-
Jun 27th, 2012, 10:28 AM
#8
Member
Re: Need help with memory leaks
Originally Posted by MastAvalons
oMG You really expert - debugger :
I have spent a lot of time on debugging and catching memory leaks. If do it for a long time, it is can helps to make good money on this.
Last edited by Big Pig; Jun 27th, 2012 at 03:52 PM.
-
Jul 3rd, 2012, 02:36 PM
#9
Junior Member
Re: Need help with memory leaks
+5 it's true
-
Sep 26th, 2012, 11:44 AM
#10
Thread Starter
Junior Member
Re: Need help with memory leaks
Thanks, guys! And what programs for liquidation memory leaks did you use personally?
-
Sep 28th, 2012, 03:49 AM
#11
Re: Need help with memory leaks
Originally Posted by Jokeman
Thanks, guys! And what programs for liquidation memory leaks did you use personally?
Personally, the only one i have used is valgrind. I can recommend it, but I guess its not relevant for you since you appear to be using Windows.
-
Oct 5th, 2012, 08:31 AM
#12
Thread Starter
Junior Member
Re: Need help with memory leaks
Hi, Atheist! yes, I'm using windows now. I have such question because I always use Linux and use valgrind for a long time. But now there were circumstances that I have to work with windows.
-
Oct 8th, 2012, 09:45 AM
#13
Member
Re: Need help with memory leaks
It is difficult to argue. Valgrind is essential for Linux.
-
Nov 1st, 2012, 05:24 AM
#14
Thread Starter
Junior Member
Re: Need help with memory leaks
Thank you very much for your help! I think I found what I was looking for))
-
Nov 13th, 2012, 05:48 AM
#15
Member
Re: Need help with memory leaks
"Effective C++" by Scott Meyers - read it!
One more thing: you can find good guides how to fix the leak by yourself.
-
Dec 4th, 2012, 05:29 AM
#16
Thread Starter
Junior Member
Re: Need help with memory leaks
Thank you! I heard about this book. But I have not had the opportunity to read it.
-
Dec 5th, 2012, 07:16 AM
#17
New Member
Re: Need help with memory leaks
What is a Memory Leak?
A memory leak, occurs when a computer program consumes memory but is unable to release it back to the operating system. In C/C++ whenever a program allocates dynamic memory on the heap it should also release the same or it results in memory leak.
In C dynamic memory is allocated on Heap using the function malloc, the same memory is reclaimed by explicitly calling the function free.
In C++ dynamic memory is allocated on Heap using the operator new or new[], the same is reclaimed through delete or delete[].
Resources to know more about memory Leaks?
You can find many online tutorials and books to know more about the various common scenarios in which memory leaks are encountered.
+ http://www.yolinux.com/TUTORIALS/C++...moryLeaks.html ---- books
-
Dec 6th, 2012, 09:20 AM
#18
Thread Starter
Junior Member
Re: Need help with memory leaks
Thank you all! I found what I was looking for. And even more!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|