Le 21/03/2012 20:29, Nico Zimmermann a écrit :
Hi all,
I am running some tests on Neko 1.8.2.
After creating around 3 million objects and having the heap memory at
around 800mb the following exception occurs:
Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS
From
http://stackoverflow.com/questions/4728537/boehm-gc-garbage-collector-too-many-heap-sections-increase-maxhincr-or-max-h
I concluded that this may probably not configurable at run/startup-time,
but only at neko compile time.
Indeed, they looks like gc-compile-time constants (not event Neko ones).
My target is at around 10 million objects at 3-4GB memory… so not that
far away from what I have got :)
Ouch that's quite a lot of data you're handling there :)
Using Hash will actually allocate a linked-list like structure so you'll
have 2 extra words per stored object.
Best,
Nicolas
--
Neko : One VM to run them all
(http://nekovm.org)