caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* More re GC hanging
@ 2010-08-15  5:57 Paul Steckler
  2010-08-15  7:03 ` [Caml-list] " Basile Starynkevitch
  2010-08-18 12:22 ` Goswin von Brederlow
  0 siblings, 2 replies; 19+ messages in thread
From: Paul Steckler @ 2010-08-15  5:57 UTC (permalink / raw)
  To: caml-list

I haven't yet come up with a solution to the GC hanging problem I
mentioned the other day.

But here's something that looks funny.  I changed the default minor
heap size, the major
heap increment, the allocation policy.  I also threw in a
`Gc.major_slice 0' in the code.
After turning on the Gc verbose option, I see:

 New heap increment size: 1000k bytes
 New allocation policy: 1
 New minor heap size: 500k bytes
 <>Starting new major GC cycle
 allocated_words = 9404
 extra_heap_resources = 49000u
 amount of work to do = 249956u
 ordered work = 0 words
 computed work = 44081 words
 Marking 44081 words
 Subphase = 10
 !<>Sweeping 9223372036854775807 words
 Starting new major GC cycle
 Marking 9223372036854775807 words
 Subphase = 10
 Sweeping 9223372036854775807 words

Those are some big mark and sweep numbers at the end!

I'm using the x64 version of Fedora 12.  Maybe the 64-bit garbage
collector has some integer
overflow problems?

I wasn't seeing those huge numbers in other experiments where the Gc
hangs, so maybe that's
not the underlying problem.

-- Paul


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2010-09-01 16:44 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-15  5:57 More re GC hanging Paul Steckler
2010-08-15  7:03 ` [Caml-list] " Basile Starynkevitch
2010-08-15  8:34   ` Paul Steckler
2010-08-15  8:40   ` Paul Steckler
2010-08-15  9:16     ` Basile Starynkevitch
     [not found]       ` <AANLkTi=-8ZcxSy08fsh8wkTvscGLYzBsqN07OmOi5o6d@mail.gmail.com>
2010-08-15  9:55         ` Fwd: " Paul Steckler
2010-08-15 10:41           ` Fwd: " Sylvain Le Gall
2010-08-15 11:32             ` [Caml-list] " Vincent Hanquez
2010-08-15 10:45       ` [Caml-list] " Adrien
2010-08-15 11:17         ` David Allsopp
2010-08-15 12:12         ` Basile Starynkevitch
2010-09-01 15:24         ` Damien Doligez
2010-09-01 16:44           ` Adrien
2010-08-15 10:19     ` rixed
2010-08-20 15:21   ` Richard Jones
2010-08-20 23:30     ` Eray Ozkural
2010-08-22 13:02       ` Adrien
2010-08-25 15:17         ` Goswin von Brederlow
2010-08-18 12:22 ` Goswin von Brederlow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).