[MLton-devel] D2 problem

Stephen Weeks MLton@mlton.org
Sun, 21 Apr 2002 23:07:04 -0700


> > The last part of crash.log looks particularly suscpicious to me:
> > 
> > live(bytes): 685,348 (10.8%)
> > /tmp/fileMfaXAD.2.S 59356: GC_doGC
> > Starting gc.  bytesRequested = 0
> > fromSpace = 23c80000  toSpace = 490000
> > fromSpace size = 640,860,160  toSpace 6,262,784
> > Out of memory (forward).
> > size=512000008 skip=0 remaining=6203104 s->fromSize=640860160
> > s->toSize=6262784 headerBytes=8 objectBytes=512000000 header=4000
> > Diagnostic: probably a RAM problem.
> > 
> > The size of toSpace is less than that of live. 
> 
> Yeah, I guess this is because MLton was not able to allocate any more
> space.  Although, in that case I would have expected to see the
> backoff messages in computeSemiSize.

I have found the bug, and am working on a fix, but have not yet
finished.  I am doing a complete rewrite of the heap resizing code to
simplify it (and improve performance), and hope to finish up on Monday
night.

_______________________________________________
MLton-devel mailing list
MLton-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlton-devel