[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ 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? http://caml.inria.fr/pub/ml-archives/caml-list/2005/08/7468da0a1e9d9891bc4cdf13eb725a51.en.html You might want to instrument the [caml_]register_global_root function and see how often it gets called. Rich. -- Richard Jones Red Hat