[fpc-pascal] Leak narrowed down

Luca Olivetti luca at ventoso.org
Thu Oct 28 22:44:11 CEST 2010


Al 28/10/10 22:12, En/na Tobias Giesen ha escrit:

>
> At this point I have to give up on GetTextWidth - I will avoid it for
> now. Maybe next year the problem can be solved. I will send a note to
> the Lazarus list and submit a bug report, provided I can confirm the
> issue with a minimal testing program.

FWIW, I've had similar issues several times under Linux/gtk/gtk2: 
heaptrc reports no leaks but memory usage keeps growing, until the OOM 
kills the application.
I suppose that this kink of issue is really difficult to debug for 
Lazarus developers, since apparently there's nothing blatantly wrong.
Consider yourself lucky that you found the culprit and can avoid it.

Bye
-- 
Luca



More information about the fpc-pascal mailing list