Hi,
The CPPParser contains lot of memory leaks. I'm using
this component in my opensource project and it seems
when ever I parse a file a chunk of memory is allocated
and not deallocated. I have attached a stacktrace of
the memory leak. I hope this will help in debugging the
issue.
I used Memcheck to find the leaks. You can find the
source at
http://v.mahon.free.fr/pro/freeware/memcheck/
I've been using this memory leak check code for more
than 1 year and all the results are very consistent.
Hope you can use this code and the fix occasional
unknown crash that happens in dev-cpp.
Thanks,
Guru Kathiresan
Stack trace info of the memory leak
Logged In: YES
user_id=250965
The problem persists in version 4.9.8.9. I see the effects of a
process running because I have a CpuIdle display on my
Windows Taskbar. Normally my machine runs with about 15%
idle. (The number is low because I also run a United Devices
background task.) All is well until I try to compile a program.
From that point on, my idle drops to about 4%. It stays
there when the compilation is finished and even if I exit Dev-
C++. In order to return to normal, I have to reboot the
computer. Something is leaking or there is a process not
terminating but, unfortunately, in my Windows 98 operating
system I can't tell what it is. Perhaps this is related to bug
778404.
Logged In: YES
user_id=609236
is there a chance that you could regenerate the report with
4.9.8.10? I think there are a lot of memory leaks still
there. I spotted a lot of them in editor.pas (CodeToolTip
and AutoIndent not being destroyed with Teditor etc).
Logged In: YES
user_id=609236
what do all those "Find error:" mean?