FastMM is a fast replacement memory manager for Embarcadero Delphi applications that scales well across multiple threads and CPU cores, is not prone to memory fragmentation, and supports shared memory without the use of external .DLL files.
290
stars
75
forks
source link
Avoid memory allocation before attempting to use shared mm #22
In Delphi 10.3/10.4 GetProcAddress casts a LPCWSTR param to AnsiString, which causes a memory allocation and the attempt to use shared memory manager fails
In Delphi 10.3/10.4 GetProcAddress casts a LPCWSTR param to AnsiString, which causes a memory allocation and the attempt to use shared memory manager fails