Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] memory problems
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Xavier Leroy <xavier.leroy@i...>
Subject: Re: [Caml-list] memory problems
> Using both ocamlopt and ocamlc (3.06, and 3.07beta1, with and without
> optimization flags), (A) and (B) keep a constant memory load through the
> course of the program. (C) which is the actual value I need to set
> causes the memory usage to grow each time the above function is called.

I'd be interested in a complete program that exhibits the behavior you
describe.  (Please send it just to me, so as not to clutter this list.)

> I've tried throwing in some Gc.compact() lines, without luck.

You can also try Gc.full_major().

- Xavier Leroy

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners