yes, I include the full version in my apps. you just have to set the compiler defines properly<br><br><div class="gmail_quote">On Fri, Sep 18, 2009 at 5:41 PM, Jeremy North <span dir="ltr"><<a href="mailto:jeremy.north@gmail.com">jeremy.north@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">The full FastMM version can show a detailed list, however the version<br>
included with Delphi by default can show you the classnames and size<br>
of the leak. Just set the ReportMemoryLeaksOnShutdown global variable.<br>
<div><div></div><div class="h5"><br>
On Fri, Sep 18, 2009 at 3:34 PM, Kyley Harris <<a href="mailto:Kyley@harrissoftware.com">Kyley@harrissoftware.com</a>> wrote:<br>
> Actually FastMM also tells you exactly what you did not free, and where..<br>
> so.. no memory leaks.. Its amazing how frequently you can forget a try<br>
> finally.. but.. they all get picked up the moment I run the app.<br>
><br>
> On Fri, Sep 18, 2009 at 5:33 PM, Kyley Harris <<a href="mailto:Kyley@harrissoftware.com">Kyley@harrissoftware.com</a>><br>
> wrote:<br>
>><br>
>> Ben Taylor wrote a replacement Mem Manager that does that..<br>
>><br>
>> On Fri, Sep 18, 2009 at 5:29 PM, John Bird <<a href="mailto:johnkbird@paradise.net.nz">johnkbird@paradise.net.nz</a>><br>
>> wrote:<br>
>>><br>
>>> As far as Garbage collection in Delphi, I have sometimes wondered why<br>
>>> there<br>
>>> isn't something along the lines of a RTTI list of objects that have been<br>
>>> created by the program in code (rather than autocreated by the<br>
>>> Application),<br>
>>> then it would be quite easy to go thru the list and figure out anything<br>
>>> which needs to be freed, and hasn't been yet.<br>
>>><br>
>>> With that you would have much of the features of a garbage collection, or<br>
>>> at<br>
>>> least an easy way for the programmer to work out what they forgot to free<br>
>>> or<br>
>>> never actually got freed..<br>
>>><br>
>>> Oh wait there probably is somewhere....anyone know? (You can tell I<br>
>>> don't<br>
>>> create and free objects that much, in part to avoid extra complexity).<br>
>>><br>
>>> something along the lines of (frantically inventing code - I am already<br>
>>> used to interating thru components on a form)<br>
>>><br>
>>> comp:TComponent; //parent form<br>
>>><br>
>>> for compptr := 0 to comp.ComponentCount - 1 do<br>
>>> begin<br>
>>> if (comp.components[compptr].assigned) and<br>
>>> (comp.components[compptr].LastUse < FiveMinsAgo)<br>
>>> then (comp.components[compptr].free)<br>
>>><br>
>>><br>
>>> And because its friday...<br>
>>><br>
>>> "%20 The Final Frontier..."<br>
>>><br>
>>> John<br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> NZ Borland Developers Group - Delphi mailing list<br>
>>> Post: <a href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a><br>
>>> Admin: <a href="http://delphi.org.nz/mailman/listinfo/delphi" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
>>> Unsubscribe: send an email to <a href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a> with Subject:<br>
>>> unsubscribe<br>
>><br>
>><br>
>><br>
>> --<br>
>> Kyley Harris<br>
>> Harris Software<br>
>> +64-21-671-821<br>
><br>
><br>
><br>
> --<br>
> Kyley Harris<br>
> Harris Software<br>
> +64-21-671-821<br>
><br>
> _______________________________________________<br>
> NZ Borland Developers Group - Delphi mailing list<br>
> Post: <a href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a><br>
> Admin: <a href="http://delphi.org.nz/mailman/listinfo/delphi" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
> Unsubscribe: send an email to <a href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a> with Subject:<br>
> unsubscribe<br>
><br>
<br>
_______________________________________________<br>
NZ Borland Developers Group - Delphi mailing list<br>
Post: <a href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a><br>
Admin: <a href="http://delphi.org.nz/mailman/listinfo/delphi" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
Unsubscribe: send an email to <a href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a> with Subject: unsubscribe<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Kyley Harris<br>Harris Software<br>+64-21-671-821<br>