 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Andreas Kanthak Guest
|
Posted: Tue Oct 18, 2005 7:41 am Post subject: Using FastMM questions |
|
|
Hello all,
I have an application which consists of 6 modules:
Main application (Build with D7)
4 DLL's (also build with D7)
1 DLL (build with D5)
I think I have to use the fastmm replacement borlndmm.dll. Is this correct?
Know fastmm reports me some leaks. How could I use FastMM_DebugInfo.dpr to
get the exact locations of the leaks?
I have Jedi installed and i am able to produce a "JedI debug Executable".
TIA
Andreas
|
|
| Back to top |
|
 |
Pierre le Riche Guest
|
Posted: Tue Oct 18, 2005 8:39 am Post subject: Re: Using FastMM questions |
|
|
Hi Andreas,
| Quote: | Main application (Build with D7)
4 DLL's (also build with D7)
1 DLL (build with D5)
If you are not passing long strings and dynamic arrays between them, just |
add FastMM4.pas as the first line in the .dpr of all of them. This way they
will all have their own MM and will report leaks when unloaded or shut down.
| Quote: | I think I have to use the fastmm replacement borlndmm.dll. Is this
correct?
Only if you currently require borlndmm.dll. If you do this then the memory |
manager will be shared and it will be harder to track leaks.
| Quote: | Know fastmm reports me some leaks. How could I use FastMM_DebugInfo.dpr to
get the exact locations of the leaks?
Set the "FullDebugMode" option in FastMM4Options.inc and make sure the |
precompiled FastMM_DebugInfo.dll is in the same folder as the application.
Regards,
Pierre
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|