?
Solved

How to spot memory leaks?

Posted on 1997-12-10
2
Medium Priority
?
182 Views
Last Modified: 2010-04-04
Are there any articles on the net on how to go about
spotting memory leaks in Delphi and C++Builder

Chris
0
Comment
Question by:chrishart
[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
2 Comments
 
LVL 3

Accepted Solution

by:
Pegasus100397 earned 300 total points
ID: 1353323
Chrishart,

My advice would be to get a product like Memory Sleuth or BoundsChecker. I use both of these tools and they tell you almost to a T where, when and how much memory/resources, etc are available as well as what resources were not freed. I worthwhile investment if your into serious Delphi programming.

On the cheap, writing a small program to access the Windows API environment functions would also work to show you how much memory, hard disk space, system resources, etc are being used before, during and after the program. If the start values and end values don't match then that indicates your program consumed "something" and didn't get it back.

Good luck with your project!
Pegasus
0
 

Author Comment

by:chrishart
ID: 1353324
thanks, that sounds like good advice, I'm off to raid the piggy bank!

ta Chris
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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses
Course of the Month8 days, 23 hours left to enroll

765 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