<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to support-requests</title><link href="https://sourceforge.net/p/fastmm/support-requests/" rel="alternate"/><link href="https://sourceforge.net/p/fastmm/support-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/fastmm/support-requests/</id><updated>2018-12-27T16:36:08.207000Z</updated><subtitle>Recent changes to support-requests</subtitle><entry><title>FullDebugMode and LogErrorsToFile ignored</title><link href="https://sourceforge.net/p/fastmm/support-requests/26/" rel="alternate"/><published>2018-12-27T16:36:08.207000Z</published><updated>2018-12-27T16:36:08.207000Z</updated><author><name>Andreas Wedel</name><uri>https://sourceforge.net/u/awedel/</uri></author><id>https://sourceforge.net5295dfe2cd3b382494dc3ceaf5d1dc2227378266</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, I am trying to set {$define FullDebugMode} and  {$define LogErrorsToFile} in the FastMM4Options.inc file, but after rebuilding the application these vars are not set.&lt;br/&gt;
I added some extra code in the application {$ifdef FullDebugMode}... and these lines&lt;br/&gt;
do not get compiled. When i change other vars in the inc-file they are loaded correctly.&lt;br/&gt;
In my opinion there  is no other option set that .undef's the definition. I'm on this for hours and&lt;br/&gt;
don't know how to solve. I attched the inc.-file hoping you can help me or give me a clue.&lt;/p&gt;
&lt;p&gt;Thank's a lot.&lt;/p&gt;
&lt;p&gt;I'm using Delphi 2007, FastMM version 4.991 and the FastMM_FullDebugMode.dll is in the application directory. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>FastMM LogAllocatedBlocksToFile in ShareMM</title><link href="https://sourceforge.net/p/fastmm/support-requests/25/" rel="alternate"/><published>2014-09-05T07:50:23.500000Z</published><updated>2014-09-05T07:50:23.500000Z</updated><author><name>Ciuly</name><uri>https://sourceforge.net/u/ciuly/</uri></author><id>https://sourceforge.netde8f47290d416a873c327a3abe49c73638f7ec92</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have a bunch of EXEs dynamically loading another bunch of DLLs, most of them exposing COM objects.&lt;/p&gt;
&lt;p&gt;Now I'm trying to debug one of these DLLs using one of the EXEs.&lt;/p&gt;
&lt;p&gt;All projects are compiled with latest FastMM4 (4.991) with ShareMM and such, in fulldebugmode.&lt;/p&gt;
&lt;p&gt;There is a routine that has some weird object creation/assign/destruction behavior so I was thinking to log those to catch the objects destroyed by it which were not created by it.&lt;/p&gt;
&lt;p&gt;I use SetMMLogFileName('before') and LogAllocatedBlocksToFile(0, 0); to have a snapshot of whatever exists before the routine starts it's work.&lt;/p&gt;
&lt;p&gt;Then do a PushALlocationGroup(1) and after the routine finishes, I do similar calls as above.&lt;/p&gt;
&lt;p&gt;The problem is, nothing is logged. That kind of makes sense since the routine is executed in the DLL and the main MM is initialized by the EXE (already confirmed this in debugging).&lt;/p&gt;
&lt;p&gt;So basically I need to make the log allocation blocks routines in FastMM share-aware. I looked over the code but I can't seem to figure out how to do that.&lt;/p&gt;
&lt;p&gt;Anyone did this already or has some pointers to get me started?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Doesn't release medium blocks in FullDebugMode</title><link href="https://sourceforge.net/p/fastmm/support-requests/24/" rel="alternate"/><published>2013-01-18T08:50:36Z</published><updated>2013-01-18T08:50:36Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netbe3bc581c535799c06cc5be57933726356296b12</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The problem is reproduced with the following minimal example:&lt;/p&gt;
&lt;p&gt;program test;&lt;/p&gt;
&lt;p&gt;{$APPTYPE CONSOLE}&lt;/p&gt;
&lt;p&gt;uses&lt;br /&gt;
fastmm4, sysutils;&lt;/p&gt;
&lt;p&gt;var&lt;br /&gt;
p: array[1..10000] of Pointer;&lt;br /&gt;
i: Integer;&lt;br /&gt;
begin&lt;br /&gt;
for i := Low(p) to High(p) do&lt;br /&gt;
GetMem(p[i], i);&lt;br /&gt;
for i := Low(p) to High(p) do&lt;br /&gt;
FreeMem(p[i]);&lt;br /&gt;
end.&lt;/p&gt;
&lt;p&gt;When compiled without FullDebugMode, the program releases OS memory after FreeMem loop (correct). It can be verified by setting breakpoint on "end." and checking memory consumption via e.g. ProcExp.&lt;br /&gt;
When compiled with FullDebugMode, the memory is not released. ProcExp shows that the program memory usage is &amp;gt;50Mb just prior to exiting.&lt;br /&gt;
Investigation shows that program has allocated a bunch of 1280K (medium) blocks.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Memory leak problem with fastMM</title><link href="https://sourceforge.net/p/fastmm/support-requests/23/" rel="alternate"/><published>2012-04-18T08:38:49Z</published><updated>2012-04-18T08:38:49Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net118d25e09a8741412f51ed1adf01389b4ee673d7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br /&gt;
We are using FastMM to detect memory leak. &lt;br /&gt;
In my project I am using runtime packages. &lt;br /&gt;
So I have checked Project-option-packages-use runtime Packages-checked&lt;br /&gt;
But I am not getting any leak report.&lt;br /&gt;
When I am uncheck that option it is reporting.&lt;br /&gt;
So what to do to detect memory leaks with Runtime packages option checked.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>FastMM UsageTracker 64 bit support</title><link href="https://sourceforge.net/p/fastmm/support-requests/22/" rel="alternate"/><published>2011-10-31T02:20:43Z</published><updated>2011-10-31T02:20:43Z</updated><author><name>M.Samadpour</name><uri>https://sourceforge.net/u/reverser/</uri></author><id>https://sourceforge.neteeca64987e3b75cc8a84c162fc9ab4e08f694dda</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;FastMM Usage Tracker not function properly on 64bit mode.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Number of elements differs from declaration </title><link href="https://sourceforge.net/p/fastmm/support-requests/21/" rel="alternate"/><published>2011-09-20T19:29:29Z</published><updated>2011-09-20T19:29:29Z</updated><author><name>Paul Voelker</name><uri>https://sourceforge.net/u/herrvlkr/</uri></author><id>https://sourceforge.net03cde7636832e0f4a11dc6cfe4dbf3c7e4df37e4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When I compile FastMM into my project with the 'FullDebugMode' flag enabled, I get the error:&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;[DCC Error] FastMM4.pas(1396): E2072 Number of elements (8) differs from declaration (11)&lt;/p&gt;
&lt;p&gt;If I compile without it, I don't get the error and can run my application.  I am using the default FastMM4Options.inc file, except for turn the FullDebugMode flag on and off.&lt;/p&gt;
&lt;p&gt;It looks like this issue was fixed a while back with issue ID: 3197933 &lt;/p&gt;
&lt;p&gt;So I am confused why I would be seeing this.  I am new to FastMM, so it may be possible that I am just doing something completely wrong.&lt;/p&gt;
&lt;p&gt;I am using C++Builder XE on a Windows 7 (64 bit).&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Delphi 7 compiler error accessing IsMultiThread variable</title><link href="https://sourceforge.net/p/fastmm/support-requests/19/" rel="alternate"/><published>2009-12-14T07:06:07Z</published><updated>2009-12-14T07:06:07Z</updated><author><name>Remy Lebeau</name><uri>https://sourceforge.net/u/gambit47/</uri></author><id>https://sourceforge.net9a68c4c88859cc3ef90c1f79b651c04816392cb2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When FastMM4 is compiled into a package (in this case, Indy 10), installing that package produces a compiler error:&lt;/p&gt;
&lt;p&gt;"need imported data reference...{$G}..to use IsMultiThread from FastMM4"&lt;/p&gt;
&lt;p&gt;That error means, in short, that an imported variable is being accessed across package boundaries in code that does not allow such importing.  In this case, it is the assembly code of FastGetMem(), FastFreeMem(), and FastReallocMem() that is causing the error.  Variables in other packages can be imported in Pascal code, but not in assembly code.  To work around the error, FastMM4 would have to access the IsMultiThread variable in a Pascal function that the assembly code calls when needed, or else the user has to compiler FastMM4 with the AssumeMultiThreaded option enabled instead.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>FastMM with BDS 2007 R2</title><link href="https://sourceforge.net/p/fastmm/support-requests/18/" rel="alternate"/><published>2009-04-09T10:40:55Z</published><updated>2009-04-09T10:40:55Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.nete8acd6bf656f55cd1f44a83ad47ba7121f899c32</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br /&gt;
I have  BDS 2007 R2 and can't to start my application with FastMM. As defoul work it fine. But if I set {$define FullDebugMode} in .inc-file then goin exception on start. I'd tested it with 4.92, 4.84 and 4.72.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>FastMM clash with mxOutlookBar's mxOutlookBarPro</title><link href="https://sourceforge.net/p/fastmm/support-requests/17/" rel="alternate"/><published>2008-12-31T01:52:49Z</published><updated>2008-12-31T01:52:49Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net63f1e19aea45d94303042aa38994c9435e8d75cb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br /&gt;
I'm a Chinese programmer,I find the FastMM clash with mxOutlookBar's mxOutlookBarPro &lt;/p&gt;
&lt;p&gt;control,&lt;br /&gt;
The FastMM can induce the delphi wrong when the mxOutlookBarPro control release.&lt;br /&gt;
could you solve it? my fastMM version is v4.92.&lt;br /&gt;
CHB&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>DLL + String Failure?</title><link href="https://sourceforge.net/p/fastmm/support-requests/16/" rel="alternate"/><published>2008-02-17T22:43:48Z</published><updated>2008-02-17T22:43:48Z</updated><author><name>MeW</name><uri>https://sourceforge.net/u/marcowobben/</uri></author><id>https://sourceforge.net6bcdef72d567a50cae360bee6866e85e751a1548</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I've got FastMM in an application and in a DLL. Whenever I've exchanged the string values through methods in the DLL, the libray cannot be unloaded without an excess violation. If I do the same without unloading the library it'll fail with a memory leak warning.&lt;/p&gt;
&lt;p&gt;I was under the impression I could use the String type to exchange data between App and Dll. Perhaps someone could point me to my error, or report this as a bug?&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;
&lt;p&gt;Btw. I've used the code below with Delphi6.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>