[fpc-devel]Bad heap manager?
Peter Vreman
peter at freepascal.org
Thu Feb 28 11:36:26 CET 2002
> }A defragmentation is not possible since a program can have pointers pointing to the
heap
> }that would also need to be updated.
> }
>
> Of course but concatenating free blocks would be possible, wouldn't it?
Concatenating is already done when a block is freed
But if the program is reallocating huge amounts of memory and in between allocates a
smaller block the concatenating doesn't work
An other test can be to setup an initial heap (-Ch parameter) that is large enough
More information about the fpc-devel
mailing list