On Sun, Aug 15, 2010 at 7:16 PM, Basile Starynkevitch
<bas...@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

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Reply via email to