caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Richard Jones <rich@annexia.org>
To: Dawid Toton <d0@wp.pl>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Memory leak & slowdown
Date: Fri, 5 Jun 2009 16:39:33 +0100	[thread overview]
Message-ID: <20090605153933.GA24767@annexia.org> (raw)
In-Reply-To: <4A2924E1.50307@wp.pl>

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


  reply	other threads:[~2009-06-05 15:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-05 14:00 Dawid Toton
2009-06-05 15:39 ` Richard Jones [this message]
2009-06-05 15:55   ` Dawid Toton
2009-06-05 16:21 ` Dawid Toton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090605153933.GA24767@annexia.org \
    --to=rich@annexia.org \
    --cc=caml-list@yquem.inria.fr \
    --cc=d0@wp.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).