Does FASTMM4 and FASTMM5 work under Android/Ios ? Else what is the memory manager used under those platforms ?
CodePudding user response:
FastMM5 seems to be for Windows only.
FastMM4 used to work on Linux via Kylix (a lot of time ago), but last time I checked its code was not compatible with the new Delphi POSIX units.
Personally, I ended up making a fork in pure asm of FastMM4 - with some improvements for new CPUs and multi-threads scaling - to have a fast Windows and POSIX compatible MM on x86_64, but with FPC only.
On POSIX systems like Android or iOS, Delphi calls the libc
memory manager, which is a good and stable solution. The MM won't be the bottleneck of your Delphi Android/iOS application, so I would not loose time trying anything else.