Browse files

introducing FPC_FASTMM4 and FPC_CMEM conditionals

- FastMM4 has issues with current FPC (even with the included fixes), so should not be used on production
- cmem is as fast as default heap manager, and seems to consume less RAM during multi-threaded process
  • Loading branch information...
Arnaud Bouchez
Arnaud Bouchez committed Mar 5, 2018
1 parent 456cf82 commit 6ace6d6e07f21bad7a9da41cf44c6ea3fe6682db
Showing with 9 additions and 2 deletions.
  1. +8 −1
  2. +1 −1
@@ -1,6 +1,13 @@
{$ifndef LVCL}
{$ifdef FPC} // we may be on Kylix or upcoming Delphi for Linux
{$ifdef Unix} // we may also be on Darwin / OSX
{$ifdef FPC_FASTMM4}
FastMM4Messages in '..\RTL7\FastMM4Messages.pas',
FastMM4 in '..\RTL7\FastMM4.pas',
{$ifdef FPC_CMEM}
cmem, // you may also set FPC_NO_DEFAULT_MEMORYMANAGER
{$ifdef Unix} // we may also be on Darwin / OSX
cthreads, // if you use threads: always needed for servers
{$ifdef Darwin}
iosxwstr, // optional WideString manager for Mac, but won't hurt
@@ -1 +1 @@

0 comments on commit 6ace6d6

Please sign in to comment.