Skip to content

apz28/Delphi-fastmm4m

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FastMM4m

A fast memory manager for Delphi or Pascal (Enhance FastMM4 for multi-threads - MultiCore CPUs)

Description:

A fast replacement memory manager for Embarcadero Delphi applications that scales well under multi-threaded usage, is not prone to memory fragmentation, and supports shared memory.

Orginal Implementation Homepage:

https://github.com/pleriche/FastMM4

Advantages:

Avoid multi-threads locking issue from original implementation. Good for web usage and program with a lot of threads Supports Delphi 4 (or later).

Usage:

Place FMemory.pas unit as the very first unit under the "uses" section in your project's .dpr file, include the search path to FastMM4m source directory as part of the application. When sharing memory between an application and a DLL (e.g. when passing a long string or dynamic array to a DLL function), both the main application and the DLL must be compiled using this memory manager (with the required conditional defines set and function calls FShareMemoryManager and FAttemptToUseSharedMemoryManager). There are some conditional defines (inside FOption.inc) that may be used to tweak the memory manager.

About

A memory manager for Delphi (Enhance FastMM4 for multi-threads - MultiCore CPUs)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors