I think its related more to the way I store the objects. Basically I was using 
a Hash.

When I use an Array or more suitable in my case a BinaryTree, I can go up to 
3-4GB with 30-40 million objects.

Best, Nico.

On 21 Mar 2012, at 20:29, Nico Zimmermann wrote:

> 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.
> 
> My target is at around 10 million objects at 3-4GB memory… so not that far 
> away from what I have got :)
> 
> Any thoughts? Ever compiled with ‑DLARGE_CONFIG ?
> 
> Greets, Nico.
> -- 
> Neko : One VM to run them all
> (http://nekovm.org)

-- 
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to