#1 2015-10-15 18:37:38

hnb
Member
Registered: 2015-06-15
Posts: 291

FastMM4 for FPC

Hi!

I'm a little surprised (positive ofc) about fossil commit [ad9fac7b65]. It will be work under Windows FPC compiler, or it is only Kylix dedicated?


best regards,
Maciej Izak

Offline

#2 2015-10-15 19:23:44

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,238
Website

Re: FastMM4 for FPC

It is supposed to work under Linux and Darwin (OSX), for both 32 bit and 64 bit.

Please note that, from my preliminary testing, the patch for FPC does not work under Windows.
I'll try to fix it, at least for Win32.

I need FastMM4 even under Windows for FPC, since the default memory manager of FPC burns a lot of memory, and easily trigger EThread exceptions, when creating a lot of threads: sounds like if the per-thread FPC heap manager reserves a lot of virtual memory, so the program is very soon out of virtual address space for a 32 bit app...
FastMM4 does not suffer from these issues, and is much faster with a x86 CPU.

Online

#3 2015-10-15 20:46:57

hnb
Member
Registered: 2015-06-15
Posts: 291

Re: FastMM4 for FPC

ab wrote:

I'll try to fix it, at least for Win32.

I need FastMM4 even under Windows for FPC...

I also need FMM4 for that purpose smile I am waiting for this (!) big_smile.


best regards,
Maciej Izak

Offline

Board footer

Powered by FluxBB