Hello Jonas,
Tuesday, October 28, 2008, 4:58:04 PM, you wrote:
JM> 100 bytes and smaller are most certainly handled using pools by FC's
JM> heap manager.
This code is partially inherited from a Delphi one, so the test has
been performed a few months ago using D7, maybe the fpc behavior is
better
On 28 Oct 2008, at 16:50, JoshyFun wrote:
Hello Jonas,
Tuesday, October 28, 2008, 4:24:56 PM, you wrote:
My application will create thousands of small objects of the same
class, this objects are not created or destroyed in a row, so
memory
fragmentation could becomes a serious problem aft
Hello Vincent,
Tuesday, October 28, 2008, 11:23:18 AM, you wrote:
VS> You can override class function TObject.NewInstance : tobject;
VS> For allocating the memory, you could use a special memory manager from
pooledmm:
VS> http://lazarus-ccr.sourceforge.net/docs/fcl/pooledmm/index-4.html
Thank y
Hello Jonas,
Tuesday, October 28, 2008, 4:24:56 PM, you wrote:
>>> My application will create thousands of small objects of the same
>>> class, this objects are not created or destroyed in a row, so memory
>>> fragmentation could becomes a serious problem after some time.
>> Since the fpc heap ma
On 28 Oct 2008, at 16:05, Florian Klaempfl wrote:
JoshyFun schrieb:
Hello FPC-Pascal,
My application will create thousands of small objects of the same
class, this objects are not created or destroyed in a row, so memory
fragmentation could becomes a serious problem after some time.
Since t
JoshyFun schrieb:
> Hello FPC-Pascal,
>
> My application will create thousands of small objects of the same
> class, this objects are not created or destroyed in a row, so memory
> fragmentation could becomes a serious problem after some time.
Since the fpc heap manager itself pools, this should
JoshyFun schreef:
Hello FPC-Pascal,
My application will create thousands of small objects of the same
class, this objects are not created or destroyed in a row, so memory
fragmentation could becomes a serious problem after some time.
My question is: Is there any way to override the object creat
Hello FPC-Pascal,
My application will create thousands of small objects of the same
class, this objects are not created or destroyed in a row, so memory
fragmentation could becomes a serious problem after some time.
My question is: Is there any way to override the object creation to
use a specifi