Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2004-01-13 (18:35)
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.


Richard Jones.
Merjis Ltd. - 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 Archives:
Bug reports: FAQ:
Beginner's list: