[Lazarus] Application slow shutting down

Gordon Findlay gfindlay.linux at gmail.com
Thu Oct 1 01:29:34 CEST 2015


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20151001/1a92515e/attachment-0002.html>


More information about the Lazarus mailing list