?
Solved

Memory Leak

Posted on 2004-04-05
5
Medium Priority
?
422 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 45

Accepted Solution

by:
sunnycoder earned 300 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 300 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
Make the most of your online learning experience.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Simple Linear Regression
Suggested Courses

741 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