PDA

View Full Version : Known leak registration


Sirius
16-Mar-2007, 07:36 PM
I use foreign component without source codes that have one memory leak. Each
time EurekaLog shows leak report. I not need message about this leak. How I
can register known leaks in EurekaLog?

admin
25-Mar-2007, 06:56 PM
What do you think if I disabled (by default) the Leaks reporting for leaks without any debug info?

Sirius
25-Mar-2007, 07:26 PM
> What do you think if I disabled (by default) the Leaks reporting for
> leaks without any debug info?

It will be good solution if it works with Indy components (I use Delphi 7).
There is fragment of IdComponent.pas:
....
var
GInstanceCount: Integer = 0;
GStackCriticalSection: TCriticalSection;
....
initialization
GStackCriticalSection := TCriticalSection.Create;
finalization
// Dont Free. If shutdown is from another Init section, it can cause GPF
when stack
// tries to access it. App will kill it off anyways, so just let it leak
// FreeAndNil(GStackCriticalSection);
end.

As you see this is known leak. So EurekaLog should have ability to skip such
leak.

john@frieltek.com
11-Jan-2008, 03:38 PM
I found this thread dealing with the same problem I am having. Can EurekaLog be told to ignore these leaks?

admin
11-Jan-2008, 06:40 PM
Hi,

I'm working on, please to be patient.

Unregistered
17-Sep-2008, 09:40 PM
Any news on the known-leak registration?

//Joerg

admin
18-Sep-2008, 01:05 PM
Hi,

this feature is currently tagged for the next 7.0 version! :)