[fpc-devel]Bad heap manager?

Nico Aragon nico at canaldelphi.org
Thu Feb 28 19:34:10 CET 2002


Hola,


>Today I tried to use FPC 1.1 (Win32 target) to compile my program which
>creates very many dynamic objects and also I compiled the same program with

If the problem is fragmentation, the solution should be a memory pool
with fixed size blocks. 

If when you say "objects" you mean classes derived from TObject, you
could try overriding NewInstance to use such a memory pool, instead of
taking the memory from the global heap.


--
salu2,

  Nico Aragón
  nico at nicoaragon.com
  http://nicoaragon.com/




More information about the fpc-devel mailing list