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