Board index » delphi » Re: BDN article: The New Memory Manager In BDS 2006 - by Pierre le Riche
Florent Ouchet
Delphi Developer |
Florent Ouchet
Delphi Developer |
Re: BDN article: The New Memory Manager In BDS 2006 - by Pierre le Riche2006-01-07 09:49:19 AM delphi92 John Kaster (Borland) a écrit : Quote>Most questions asked by users are already answered in the FastMM FAQ, prdownloads.sourceforge.net/fastmm/FastMM456.zip?download -- Florent Ouchet |
John Kaster (Borland)
Delphi Developer |
2006-01-07 01:11:15 PM
Re: BDN article: The New Memory Manager In BDS 2006 - by Pierre le Riche
Florent Ouchet writes:
QuoteIt doesn't seem to be available as a standalone file. John Kaster blogs.borland.com/johnk Features and bugs: qc.borland.com Get source: cc.borland.com If it is not here, it is not happening: ec.borland.com |
Roddy
Delphi Developer |
2006-01-07 06:57:26 PM
Re: BDN article: The New Memory Manager In BDS 2006 - by Pierre le Riche
"John Kaster (Borland)" <XXXX@XXXXX.COM>writes
QuoteDavid Perkins writes: Is the codeguard DLL redistributable? I firmly believe leak checking (in fact full runtime checks) should be in production code. - Roddy |
Pierre le Riche
Delphi Developer |
2006-01-07 08:20:31 PM
Re: BDN article: The New Memory Manager In BDS 2006 - by Pierre le RicheQuote>It doesn't seem to be available as a standalone file. replacing the default memory manager with FastMM - both these don't apply to the D2006 MM. I looks like I covered everything else in the document, just not in a convenient FAQ form. Perhaps I could put together a FAQ specifically for the D2006 MM. Regards, Pierre |
Bruce McGee
Delphi Developer |
2006-01-07 10:01:07 PM
Re: BDN article: The New Memory Manager In BDS 2006 - by Pierre le Riche
Pierre le Riche writes:
QuoteI just read through the FAQ again. Most of it is related to the know if it would be better to have separate FAQs for the two versions or a single one that says which features are in which. -- Regards, Bruce McGee Glooscap Software |
John Kaster (Borland)
Delphi Developer |
2006-01-08 12:53:53 PM
Re: BDN article: The New Memory Manager In BDS 2006 - by Pierre le Riche
Roddy writes:
QuoteIs the codeguard DLL redistributable? I firmly believe leak checking -- John Kaster blogs.borland.com/johnk Features and bugs: qc.borland.com Get source: cc.borland.com If it is not here, it is not happening: ec.borland.com |
John Kaster (Borland)
Delphi Developer |
2006-01-08 12:55:02 PM
Re: BDN article: The New Memory Manager In BDS 2006 - by Pierre le Riche
Pierre le Riche writes:
QuotePerhaps I could put together a FAQ specifically for the D2006 MM. -- John Kaster blogs.borland.com/johnk Features and bugs: qc.borland.com Get source: cc.borland.com If it is not here, it is not happening: ec.borland.com |
Roddy Pratt
Delphi Developer |
2006-01-08 09:12:46 PM
Re: BDN article: The New Memory Manager In BDS 2006 - by Pierre le Riche
"John Kaster (Borland)" <XXXX@XXXXX.COM>writes
QuoteRoddy writes: any problems) , saying that a logfile will be created (sample below - text file with ".cgl" extension is used). Very straightforward. QuoteYou can look at deploy.txt for the list of files. I guess I should enter a QC feature request that CG32.dll be made redistributable. - Roddy =================================== CG32 logfile Error 00001. 0x300010 (Thread 0x0764): Resource leak: The memory block (0xD54840) was never freed The memory block (0x00D54840) [size: 1000 bytes] was allocated with malloc Call Tree: 0x0040156D(=Project16.exe:0x01:00056D) C:\Documents and Settings\Roddy\My Documents\Borland Studio Projects\Project16.cpp#10 0x3279A15F(=CC3270MT.DLL:0x01:09915F) ------------------------------------------ Functions called: delete (21 times) SysReallocMem (3 times) ... etc ... |
John Kaster (Borland)
Delphi Developer |
2006-01-09 05:55:32 AM
Re: BDN article: The New Memory Manager In BDS 2006 - by Pierre le Riche
Roddy Pratt writes:
QuoteI guess I should enter a QC feature request that CG32.dll be made -- John Kaster blogs.borland.com/johnk Features and bugs: qc.borland.com Get source: cc.borland.com If it is not here, it is not happening: ec.borland.com |
John Kaster (Borland)
Delphi Developer |
2006-01-09 06:02:26 AM
Re: BDN article: The New Memory Manager In BDS 2006 - by Pierre le Riche
Pierre le Riche writes:
QuoteThe real question is: where should I upload the FAQ? -- John Kaster blogs.borland.com/johnk Features and bugs: qc.borland.com Get source: cc.borland.com If it is not here, it is not happening: ec.borland.com |
Pierre le Riche
Delphi Developer |
2006-01-09 06:30:23 AM
Re: BDN article: The New Memory Manager In BDS 2006 - by Pierre le Riche
Hi David,
QuoteThanks. I am maybe showing my ignorance here, but does borlndmm.dll still not doesn't seem to matter. I must admit I don't really use the C++ side much, and I can not remember exactly what happens in every scenario. If you enable "Use Dynamic RTL", the resultant EXE still has a dependency on borlndmm.dll, but the leak checking works. I haven't traced through the code, so I am not sure why. Regards, Pierre |
Pierre le Riche
Delphi Developer |
2006-01-09 06:44:33 AM
Re: BDN article: The New Memory Manager In BDS 2006 - by Pierre le Riche
Hi Roddy,
QuoteSecond, any chance you could have a quick look (and maybe comment) on QC BCB since the shutdown code was called while there were still live pointers. Since it is now the default MM, I believe the situation has improved - although I do notice that it reports a couple of leaks even on a blank form C++ VCL application. I suspect it may still be calling the MM shutdown code with live pointers still around, but I am not sure. QuoteFWIW, the line "ReportMemoryLeaksOnShutdown = true;" compiles/links just variable - as I mentioned earlier you can't currently get access to the variable inside the DLL. Leak checking seems to work with "Use dynamic RTL" enabled, but with the leaks mentioned above always present. I was surprised to see that it does, because I was under the impression it always used the DLL. (The EXE still has a dependency on the DLL, but it doesn't seem to be using it.) Regards, Pierre |
Pierre le Riche
Delphi Developer |
2006-01-09 06:48:49 AM
Re: BDN article: The New Memory Manager In BDS 2006 - by Pierre le Riche
Hi John,
QuoteI don't want you making double effort. Is there a reasonable new questions that have come along in the meantime. It will be very short initially, but I suppose it will grow over time. The real question is: where should I upload the FAQ? Regards, Pierre |
Hannes Danzl[NDD]
Delphi Developer |
2006-01-09 11:27:14 AM
Re: BDN article: The New Memory Manager In BDS 2006 - by Pierre le Riche
John Kaster (Borland) writes:
QuotePierre le Riche writes: a moderator (ideally *not* as some side duty but main duty) who goes through them daily and approves/rejects. Would be easy to do with e.g a moderated wiki or most other CMA's. -- Hannes Danzl [NexusDB Developer] Newsgroup archive at www.tamaracka.com/search.htm |
John Kaster (Borland)
Delphi Developer |
2006-01-09 02:21:18 PM
Re: BDN article: The New Memory Manager In BDS 2006 - by Pierre le Riche
Hannes Danzl[NDD] writes:
QuoteThat actually opens the question if there shouldn't be a BDN -- John Kaster blogs.borland.com/johnk Features and bugs: qc.borland.com Get source: cc.borland.com If it is not here, it is not happening: ec.borland.com |