fastmm Questions

1

Solved

I've been using FastMM for very long time always placing 'FastMM4' in all Delphi projects. Does it make sense with the latest Delphi versions?
Wheatear asked 3/4, 2022 at 17:25

4

Solved

I am using Delphi 2009 which has the FastMM4 memory manager built into it. My program reads in and processes a large dataset. All memory is freed correctly whenever I clear the dataset or exit the...
Fullmouthed asked 2/4, 2010 at 23:9

5

Solved

In a Delphi 7 project we installed FastMM. Soon after that we noticed one of the forms started to issue Abstract Error message on close. I have debugged this extensively and I can't find the reason...
Plop asked 12/8, 2012 at 18:5

6

Solved

I know how to get the System memory use using GlobalMemoryStatusEx, but that tells me the what the entire OS is using. I really want my program to report how much memory it alone has allocated and...
Alliaceous asked 13/1, 2009 at 1:26

4

Solved

How could I get the total amount of memory, that allocated by FastMM? I've tried that: function GetTotalAllocatedMemory: Cardinal; var MMState: TMemoryManagerState; begin GetMemoryManagerState(...
Marienthal asked 29/3, 2011 at 9:9

1

Solved

I have following sample application that shows the issue: program FalseMemLeak; uses ShareMem; var o: TObject; begin o := TObject.Create; // "good" leak RegisterExpectedMemoryLeak(o); TInte...
Goldfish asked 23/2, 2015 at 17:22

1

Solved

Embarcadero's TTaskbar has a memory leak. Since I dropped this control on my form, FastMM reports a leak every time I close the app. I tried to mute FastMM with this code: procedure TMainForm.For...
Southbound asked 19/2, 2015 at 11:1

1

Solved

I'm trying to track down an access violation. Reproducibility seems non-deterministic, and rare, so I want to check a few of my assumptions before I go any further. The access violation is raised ...
Cruise asked 27/3, 2014 at 10:52

3

Note: 32 bit application, which is not planned to be migrated to 64 bit. I'm working with a very memory consuming application and have pretty much optimized all the relevant paths in respect to me...
Preempt asked 18/12, 2013 at 20:53

3

Solved

My application is a tcp/ip server, with main thread created only once & listening all the time. When new client connects, the main thread creates the new thread of TClientThread type. There is ...
Juryman asked 29/7, 2009 at 21:32

1

I am trying to detect if a block of memory was not freed. Of course, the manager tells me that by dialog box or log file, but what if I would like to store results in a database? For example I woul...
Fakieh asked 9/1, 2012 at 7:26

2

Solved

I can't figure out how to detect memory leaks in a statically or even dynamically linked dll. I just want to detect the leaks in the dll, and I don't want to share the memory manager between the dl...
Decillion asked 4/7, 2013 at 18:55

2

Solved

I read the source code of FastMM4, and notice this interesting function function GetThreadID: Cardinal; {$ifdef 32Bit} asm mov eax, FS:[$24] end; {$else} begin Result := GetCurrentThreadID; end;...
Presocratic asked 23/4, 2013 at 15:52

4

Solved

I had this nasty bug that disappeared in the past but now after quite some time it returned. I have two TSam objects (derived from TPersistent) created and loaded into an TAsmJob object (derived f...
Levitate asked 9/7, 2009 at 20:47

3

Solved

I am trying to debug memory usage in a large application using Delphi 7. I was able to installed fastmm debug full dll and with it solve some leak problems. I also installed the memory usage track...
Irra asked 18/1, 2013 at 1:4

1

I am working a on parser which will go through a FASTMM4 memory leak report and store all relevant data in a custom-made structure/class. I use VirtualTreeView to display each class that has leaked...
Vitia asked 21/9, 2012 at 23:19

5

Solved

Suppose an application with some forms and only one data module are created at start. In the DM1.OnCreate event, a TStringList is created to be used at runtime. We know that when the application is...
Greening asked 27/3, 2012 at 18:40

1

Solved

I cannot figure out how to use FastMM. I have downloaded it from SourceForge and placed FastMM4Messages.pas and FastMM4.pas at the top of my dpr file. I now call this procedure to leak some memory...
Aubigny asked 22/12, 2011 at 7:56

1

Solved

Working on a project which uses factories to construct objects. I keep the pointers to the factory functions in vars globally (bad I know) and register them on initialization. I recently was inter...
Pathe asked 29/9, 2011 at 16:7

2

Solved

I use FastMM in my Delphi application to trace memory leaking especially in FullDebugMode. With the new release of Delphi XE2, can we use FastMM as the memory manager? Can FastMM work with the Win6...
Headdress asked 10/9, 2011 at 2:14

1

Solved

I'm using FastMM 4.97 in my application in Delphi5. Everything works well, if I run my application from the IDE with an intentional leak for test purposes. I get proper notices and error logs. Ho...
Imprecision asked 8/9, 2011 at 7:48

3

I have a complex application that works as expected when compiled normally, but closing a form generates an access violation when compiled using FastMM 4.97 (the latest). The AV occurs when the mes...
Lamarlamarck asked 21/3, 2011 at 19:31

4

Solved

In a recent post ( My program never releases the memory back. Why? ) I show that when using FastMM, the application does not release substantial amounts of memory back to the system. Recently I cr...
Immoralist asked 17/12, 2010 at 23:14

6

Solved

Somebody suggested recently ( My program never releases the memory back. Why? ) that my program leaks some memory. I have FastMM set to aggressive and it reports no memory leaks when I shutdown the...
Hungerford asked 18/12, 2010 at 12:1

1

This is from a custom namespacer handler done in Delphi I use to load files into a webbrowser component. Datastream:IStream; var F: TFileStream; Dummy: INT64; begin F:=TFileStream.Create(s...
Editor asked 14/12, 2010 at 19:35

© 2022 - 2024 — McMap. All rights reserved.