Solved

Memory Leak

Posted on 2004-04-05
5
407 Views
Last Modified: 2010-04-17
Hi,
I have a program that seems to be suffering from a memory leak(s).  I was wondeing if anyone has any suggestions for locating the cause of the leaks.  The programs is involved in reading from and writing to a large number of text files.  
              Cheers.
0
Comment
Question by:everton690
5 Comments
 
LVL 45

Accepted Solution

by:
sunnycoder earned 100 total points
ID: 10757520
Hi everton690,

use a free tool like valgrind ...
http://valgrind.kde.org/

or you can use commercial tools such as rational purify
http://www-306.ibm.com/software/rational/

Sunnycoder
0
 
LVL 6

Expert Comment

by:mmusante
ID: 10758218
Can you post your code? (Expecially welcome would be the loop that access to text files)
0
 
LVL 7

Assisted Solution

by:Jenn3
Jenn3 earned 100 total points
ID: 10760082
Try this commercial development tool: DevPartner

http://www.compuware.com/products/devpartner/studio.htm

It is truly brilliant piece of work.
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 10763112
By the way, which language are you working on?
0
 

Author Comment

by:everton690
ID: 10763756
Thanks to all, hopefully I  will now discover the source of the leak.
                          Regards,
                          everton690.
                   
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
A short article about problems I had with the new location API and permissions in Marshmallow
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question