Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 5 of 5 total
Thread FastMM 4.78
Thu, Jul 19 2007 8:43 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Does anyone have an idiots guide to locating the leaks shown by FastMM? Its reporting a TStringList and I can't find any .creates unmatched by .frees.

Roy Lambert
Fri, Jul 20 2007 5:00 AMPermanent Link

"Robert Cram"
Roy Lambert wrote:

> Does anyone have an idiots guide to locating the leaks shown by
> FastMM? Its reporting a TStringList and I can't find any .creates
> unmatched by .frees.
>
> Roy Lambert

Hi Roy,

Have you tried using the FastM FullDebugMode? It creates a report in
your application directory with lots of debug info including the line
numbers for the leaks.

If I remember correctly, the steps to use the FullDebugMode are:

- Make FastMM4 the first unit in your project uses clause

- make sure the provided FastMM_FullDebugMode.dll is in your
application directory

- define the {$define FullDebugMode} compilerswitch

HTH,
Robert


--
Robert.

Whatever you are, be a good one
===
http://robertcram.blogspot.com
Fri, Jul 20 2007 10:39 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Robert


Thanks, but still no joy. I've tried ading FastMM to the .dpr and not adding it, dropping the performance and debug version IDE and application over the BorlndMM, dropping the FastMM_FullDebugMode.dll in my app dir and in the bin dir, $defining everything but the kitchen sink and nothing works.

I'm sure there's something simple I'm not doing but I can't see what.

Roy Lambert
Fri, Jul 20 2007 3:37 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< Thanks, but still no joy. I've tried ading FastMM to the .dpr and not
adding it, dropping the performance and debug version IDE and application
over the BorlndMM, dropping the FastMM_FullDebugMode.dll in my app dir and
in the bin dir, $defining everything but the kitchen sink and nothing works.

I'm sure there's something simple I'm not doing but I can't see what. >>

Did you include the debug symbols (Linker/Include TD32 debug info) ?  That
should give you the actual object names, etc.

--
Tim Young
Elevate Software
www.elevatesoft.com

Sat, Jul 21 2007 4:59 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim


>Did you include the debug symbols (Linker/Include TD32 debug info) ? That
>should give you the actual object names, etc.

On at least one occasion - but possibly not the right one. I'm going to cycle through the combinations again making sure I have that switch set.

Roy Lambert
Image