I have d7
and dll
library. How can i attach the memcheck
to that library,
that I could detect memory leaks in it?
Asked
Active
Viewed 914 times
2

Prince John Wesley
- 62,492
- 12
- 87
- 94

John
- 1,834
- 5
- 32
- 60
-
3Personally I use FastMM to do this. – David Heffernan Oct 28 '11 at 10:00
-
How to make fastmm detect leaks in a dll, not in the app that uses it? – John Oct 28 '11 at 10:11
-
2Just include it in your DLL and configure it to report leaks – David Heffernan Oct 28 '11 at 10:23
-
Well i cannot make it work. I have compiled both the dll and the client app with fastmm4 unit, also with the options I think are revelant (define ShareMM, ShareMMIfLibrary, AttemptToUseSharedMM, FullDebugMode) and it reports only the client leaks ... – John Oct 28 '11 at 10:34
-
If you use ShareMM it's hard to separate client and DLL leaks. – David Heffernan Oct 28 '11 at 10:37
-
Make sure you rebuild the application once you add FastMM, not just compile it. – Marcus Adams Oct 28 '11 at 18:07
1 Answers
0
Expecially for memory leaks in dll's (IIS Web application) I am using Eurekalog which also handels Memory leaks and shows where they occur!

Niels
- 193
- 2
- 13