Questions tagged [fastmm]

FastMM is the default memory manager for Delphi Win32 and Win64 bit applications. Scales well in multi-threaded applications, not prone to memory fragmentation, and supports shared memory without the use of external .DLL files. For debugging, tools for tracking memory leaks and memory corruption are part of the FastMM manager.

FastMM is the default memory manager for Delphi Win32 and Win64 bit applications.

Written by Pierre le Riche and published under MPL 1.1 or GNU LGPL 2.1 license.

Scales well in multi-threaded applications, not prone to memory fragmentation, and supports shared memory without the use of external .DLL files. For debugging, tools for tracking memory leaks and memory corruption are part of the FastMM manager.

Resource

FastMM on SourceForge

135 questions
0
votes
3 answers

FastMM suddenly reports memory leaks in Graphics32

I have an empty project (it contains just a form). If I add this line to the project 'USES GR32_Image;' and run the application, FastMM shows leak in the program. FastMM is set to full debug. There is NO code in my program - except what Delphi IDE…
Gabriel
  • 20,797
  • 27
  • 159
  • 293
0
votes
1 answer

FastMM reports memory leaks on STL containers in C++ Builder 6

When I create an empty console application and use an STL container in it, FastMM reports a memory leak when the application is closed. For example, if I create a std::vector in main(): std::vector v; Compile, run and close, no leaks are…
0
votes
1 answer

Memory Leak on Delphi Form Controlls

I've found a strange memory leak in a project that I've been newly assigned to. On terminating, the program displays the following FastMM4 error message. The project uses BusinessSkinForm TbsaSpeedButtonSubClass is from the third party…
sav
  • 2,064
  • 5
  • 25
  • 45
0
votes
1 answer

Memory Leak in Windows Service ( CodeGear C++ XE5 ) Using Indy TIdTCPServer

I have CodeGear C++ Builder XE5. Server created with TIdTCPServer, which works nicely. However memory used by service is growing. I finally managed to include Full version of FastMM4 memory manager and after fiddling with options I found…
Oleg
  • 9
  • 2
0
votes
0 answers

Delphi Shared Module for Apache Runs Out of Memory

I hope someone will shed some lights on issue I am having. I am writing an Apache shared object module that acts as a server for my app. Client or multiple Clients make SOAP request to this module, module talks to database and returns SOAP…
d.b
  • 95
  • 2
  • 9
0
votes
0 answers

List index out of bound when using Fastmm in Delphi

Iam having one application, in that i need to clear the Memory Leaks by using FastMM. I have added FullDebugMode, LogMemoryLeakDetailToFile in conditional defines. And while closing the application in debug mode, I got List index out of Bounds(0)…
0
votes
0 answers

Abstract Error when destroying Frames

After discovering that we had some basic memory leaks I've been giving some of our applications a spring clean. After plugging FastMM4 into one of our applications I'm getting an abstract error that appears to be when I clear a list of frames I…
Dan Kelly
  • 2,634
  • 5
  • 41
  • 61
0
votes
1 answer

Memory leak when assigning to a Record

Whilst trying to work out why one of our new applications is crashing I've been chasing down memory leaks in Delphi. I've hooked up the lastest version of FastMM and have been working through the results, but am confused by the following, which I've…
Dan Kelly
  • 2,634
  • 5
  • 41
  • 61
0
votes
1 answer

Can Delphi XE2 / 64bit target address e.g. 1 terabyte of memory?

Can Delphi / FastMM can address the same as the specifications for the OS? http://msdn.microsoft.com/en-us/library/windows/desktop/aa366778(v=vs.85).aspx I just had a customer ask me if my software could access one terabyte (Windows 2008 server)…
Tom
  • 3,587
  • 9
  • 69
  • 124
0
votes
1 answer

Block footer corruption after freeing dynamic array

I am encountering this error when a user logins into a server and the server sends the response related to username/password match result. The array which has the reply packet is causing the error. I do not know as to how can I get this fixed, its…
Umair Ahmed
  • 2,420
  • 1
  • 21
  • 40
0
votes
1 answer

Delphi 7, use FastMM4 for getting application path and open application

i am working on a application in Delphi 7 that will run and display the the log created by FastMM4.pas. The application will be installed anywhere on the system. I have modified the FastMM4.pas so that it will CreateProcess(inshort execute my…
PresleyDias
  • 3,657
  • 6
  • 36
  • 62
0
votes
2 answers

delphi 7, FastMM4 cannot install work around

i am working on an application that uses FastMM4, from sourceforge.net. So i have added the FastMM4.pas to the uses clause right at the beginning. In the application i need to run a batch file after FinalizeMemoryManager; in the finalization of unit…
PresleyDias
  • 3,657
  • 6
  • 36
  • 62
-1
votes
1 answer

Using FastMM4 in COM Objects (Delphi)

I have used FastMM and it is a great tool to detect leaks and memory problems. But now I try to check a COM Server made with Delphi, and the reports are not consistent. I have tried to configure FastMM in the DLL with ShearMM and others, but I am…
Angel
  • 1
  • 2
-2
votes
1 answer

Delphi Windows Desktop App -> 513 MB memory usage on launch -> 32.1 MB after 50 mins of idle state

we have a fairly complex Delphi App, which makes use of .NET assemblies. We use FastMM as our Memory Manager. We have been running into EOutOfMemory exceptions. So I have been investigating this for a while now. We were suspecting that we had some…
santiagoIT
  • 9,411
  • 6
  • 46
  • 57
-5
votes
1 answer

Exporting same DLL function under multiple names

I have made some functions in my DLL, like this: procedure DoThis(A: PChar): Boolean; stdcall; begin f := TFileStreamCreate(A, fmCreate); f.read() f.free; end; then I exported it under 2 names: export DoThis, DoThis name 'DoThat'; In most…
Tom
  • 2,962
  • 3
  • 39
  • 69
1 2 3
8
9