[Vm-dev] Re: Too many full GCs in Cog/Spur ... while just drawing GUI ...

Levente Uzonyi leves at caesar.elte.hu
Fri Apr 8 23:01:56 UTC 2016


Interesting. I can reproduce this, but I blame it on 
#primitiveGarbageCollect.

"Primitive. Reclaims all garbage and answers the size of the largest free chunk in old space.."

I suspect that the size of the largest free chunk is limited by the value 
of VM parameter 25. If you evaluate

 	Smalltalk vmParameterAt: 25 put: 40000016.

Then OutOfMemory will not be signaled. I can't tell why it works without 
my changes. Eliot? :)

Levente


More information about the Vm-dev mailing list