Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Stopping and continuing GC
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-08-17 (14:05)
From: Markus Mottl <markus.mottl@g...>
Subject: Re: [Caml-list] Stopping and continuing GC
On 8/16/07, Jacques Garrigue <> wrote:
> My understanding is that compaction is atomic, so there is no
> notion of starting and stopping it, just of allowing it or not.

This, btw., raises an interesting question: are there any ways (and
hopefully even intentions) to make compaction work in slices like the
major GC does?  We write extremely latency sensitive applications and
often even have to manually control when the GC performs collections.

Unfortunately, compaction cannot be controlled in the same way as the
major GC can be (e.g. calling the major GC with a specific slice
size).  That's why we have to turn off automatic compactions, too, and
run these latency sensitive applications on machines with very large
amounts of memory.

Are there any intentions to remedy this situation?


Markus Mottl