English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2009-06-05 (16:21)
From: Dawid Toton <d0@w...>
Subject: Re: Memory leak & slowdown

> 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.

I'm still unable to figure out what is the allocated memory, but I 
discovered few things:

* there is available (somewhat hidden) version of memprof patch that 
works with 3.10.0:
* It seems that I can't use gprof with OCaml programs in Windows

I can roughly remember I had memory leaks some time ago if I allocated 
big arrays in expose event handler (with lablgtk2) - still have to 
verify this.