[Lazarus] Application slow shutting down

Susie Nicol susie.k.nicol at gmail.com
Thu Oct 1 01:31:53 CEST 2015


Sorry all: that last reply was from me (the OP).

I was on my friend's machine, and he is also on the list. Confusion is
universal.

Susie

On Thu, Oct 1, 2015 at 12:29 PM, Gordon Findlay <gfindlay.linux at gmail.com>
wrote:

> Thanks all.
>
> Once I tracked down the two components that had not been freed, the
> hanging stopped.
>
> Some create tips in this thread. Thansk for all of them.
>
>
> On Thu, Oct 1, 2015 at 6:31 AM, Graeme Geldenhuys <
> mailinglists at geldenhuys.co.uk> wrote:
>
>> Hello Patrick,
>>
>> On 2015-09-30 at 17:56, Patrick Chevalley wrote:
>> > My suggestion to try without heaptrc is only to check if this is the
>> > reason for "slow shutting down". In this case the problem is solved
>> > because a release build without this option will not be affected.
>>
>>
>> Run your program from the command line, and don't compile it with -WG
>> (ie: tell the compiler it is a console program, not a GUI one - if you
>> are using Windows).
>>
>> If it takes so long to shut down, that means you have a heck of a lot
>> of memory leaks. As you can guess, that is bad and should always be
>> fix! Simply disabling heaptrc is not really a solution.
>>
>>
>> But yes I fully understand "releas builds" of your application
>> shouldn't include heaptrc. But memory leaks should be fixed none the
>> less.
>>
>>
>>
>> Regards,
>>   - Graeme -
>>
>> fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
>> http://fpgui.sourceforge.net/
>>
>> My public PGP key:  http://tinyurl.com/graeme-pgp
>>
>>
>> --
>> _______________________________________________
>> Lazarus mailing list
>> Lazarus at lists.lazarus.freepascal.org
>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>>
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20151001/79000cff/attachment-0003.html>


More information about the Lazarus mailing list