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
Memory leak & slowdown
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] Memory leak & slowdown
On Fri, Jun 05, 2009 at 04:00:01PM +0200, Dawid Toton wrote:
> I have an OCaml program using GTK running on Windows, using multiple 
> threads.
> The overall memory usage grows significantly over time, but I don't know 
> why. After it consumes several MB extra, it slows considerably and 
> becomes unusable, so I have to fix this.

Could this be the GtkListView / register_global_root problem
in lablgtk?

You might want to instrument the [caml_]register_global_root function
and see how often it gets called.


Richard Jones
Red Hat