Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-09

Lazarus trunk memory leaks

4 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Ondrej Pokorny

I am getting a lot of memory leaks reported when closing Lazarus IDE on Windows. But only sometimes. Do you have the same problem? On Windows/Linux/OSX?

I tried to quickly trace it at it looks like some objects from hint windows (?) are not destroyed or something like that. So it may be also an OS-dependent problem. It would need more investigation from my side, definitely. But I'd like to hear from you first if you experience it as well.

Ondrej

Reply by email

Juha Manninen
to Ondrej Pokorny
Ondrej Pokorny wrote
I am getting a lot of memory leaks reported when closing Lazarus IDE on Windows. But only sometimes. Do you have the same problem? On Windows/Linux/OSX?

CodeTools have a known memory leak. After a long editing session Lazarus IDE causes a small leak. Not related to OS. If you got a big leak then it is something else.

Juha

Reply by email

Ondrej Pokorny
to Juha Manninen
Juha Manninen wrote
CodeTools have a known memory leak. After a long editing session Lazarus IDE causes a small leak. Not related to OS. If you got a big leak then it is something else. Juha

Thanks for the info. When I traced the memory addresses from the heaptrc output it looked for me like some smarthints from CodeTools are leaking objects. But I don't remember which ones. I had no time to debug into it more. So I may be wrong. I'll check that when I will have nothing to do. Is there a bug report or more information about it?

Just a screenshot what I am seeing (the dialog boxes show call traces endlessly):

Ondrej
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150903/f8d1b12e/attachment.html> -------------- next part --------------
A non-text attachment was scrubbed...
Name: ejdfgigd.png
Type: image/png
Size: 9825 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150903/f8d1b12e/attachment.png>

Reply by email

Ondrej Pokorny
to Juha Manninen: CodeTools have a known memory leak. After a long editing session Lazarus IDE causes a…
Juha Manninen wrote
CodeTools have a known memory leak. After a long editing session Lazarus IDE causes a small leak. Not related to OS. If you got a big leak then it is something else. Juha

I found and fixed that one: http://bugs.freepascal.org/view.php?id=28616 Maybe there are some other memory leaks but I haven't got any memory leaks any more since I fixed this one.

Ondrej

Reply by email