BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Using FastMM questions

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Language BASM
View previous topic :: View next topic  
Author Message
Andreas Kanthak
Guest





PostPosted: Tue Oct 18, 2005 7:41 am    Post subject: Using FastMM questions Reply with quote



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





PostPosted: Tue Oct 18, 2005 8:39 am    Post subject: Re: Using FastMM questions Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Language BASM All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.