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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] GC and C
On Tue, Jan 13, 2004 at 09:56:00AM -0800, Lauren A wrote:
> Does anyone have any idea what might be going on?

No, but I have a tip for you.

Add frequent calls to Gc.full_major () to your code.

If you've corrupted the memory, one of them will fail, and the stack
trace is often very informative in these cases. -- Hopefully you'll be
able to get a core dump and use gdb on it.

Rich.

-- 
Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj
Merjis Ltd. http://www.merjis.com/ - improving website return on investment
"One serious obstacle to the adoption of good programming languages is
the notion that everything has to be sacrificed for speed. In computer
languages as in life, speed kills." -- Mike Vanier

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