Closed ghost closed 7 months ago
The call stack size is set to 32, rather small. I will create an enhancement to make the call stack and operation stack sizes configurable.
Tweaked the VM parameters yesterday to improve performance. The bottleneck was memory for both the Map
and Hash
classes when inserting 1 million elements.
I'm totally ignorant about the algorithms underlying them and the use cases for each of them.
But this is what I observed.
I'm unable to have a
Collection.Map
with1000000
elements. It always crashed with:Increasing the value of
--GC_THRESHOLD
doesn't help.But I'm able to have a
Collection.Hash
with1000000
elements.I have no idea why.