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 with ocaml 3.09 but not with ocaml <= 3.08.1
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-11-25 (09:20)
From: Vincenzo Ciancia <vincenzo_yahoo_addressguard-gmane@y...>
Subject: Re: Memory leak with ocaml 3.09 but not with ocaml <= 3.08.1
Florian Weimer wrote:

>>   leave_blocking_section();
>>   vpath = copy_string(path);
> I don't think it's allowed to invoke the Caml allocator while not
> holding the run-time library lock.

That's why I hold the lock by calling "leave_blocking_section" at the
beginning of the function - it's "enter_blocking_section" that releases the
lock :)

I guess I will have to exclude pieces of code until the memory leak


Please note that I do not read the e-mail address used in the from field but
I read vincenzo_ml at yahoo dot it
Attenzione: non leggo l'indirizzo di posta usato nel campo from, ma leggo
vincenzo_ml at yahoo dot it