The EurekaLog resource leaks detection has some limits, which derives from its internal structure.
EurekaLog detects the resource leaks at the application's exit, so at this state the program has just freed all its non-static resources (resources allocated at run-time).
This technique generating the following limitations:
- Enabling resource leak detection has little performance penalty (no more than about 5% for resource operations), because EurekaLog needs to build call stack for each resource allocation;
- Enabling resource leak detection has little memory usage penalty (about 200 bytes for each resource allocation on x86-32 and about 400 bytes on x86-64);
- Resource leak report automatically hides Assembler and CPU sections;
- EurekaLog will not execute standard events during processing resource leak reports (this is because required resources was freed);
- Call stack for resource leak is limited to 35 entries;
- EurekaLog is unable to show human-readable call stack if DLL which created leak has been unloaded.
- Resource monitoring is performed by hooking imported DLL functions.
- Resource leaks are checked only for supported functions. Leaks in other functions will be not traced.
See also: