Browse thread
More re GC hanging
[
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: | Paul Steckler <steck@s...> |
| Subject: | Fwd: [Caml-list] More re GC hanging |
On Sun, Aug 15, 2010 at 7:16 PM, Basile Starynkevitch <basile@starynkevitch.net> wrote: > To check that it did work as expected (which I doubt) do > cat /proc/sys/kernel/randomize_va_space > it should give 0 It did work as expected. > Are you sure that you don't have badly coded C routines that you call > from your Ocaml code (don't forget correct use of CAMLparam & CAMLlocal, > read again carefully > http://caml.inria.fr/pub/docs/manual-ocaml/manual032.html and perhaps > other material about precise garbage collectors). I'm not calling any C code directly. I am using the ocaml-ssl library, which has some simple calls into the OpenSSL library. > Are you sure you don't have a memory leak in your Ocaml code? This could > happen when a reference value refers to a "big" value you don't need > anymore. Possible. I'll try printing out some memory statistics to see how much memory is being consumed. -- Paul