caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Memory leak with native code.
@ 2002-12-05 18:48 David Brown
  2002-12-05 19:14 ` Markus Mottl
  2002-12-05 20:31 ` Basile STARYNKEVITCH
  0 siblings, 2 replies; 5+ messages in thread
From: David Brown @ 2002-12-05 18:48 UTC (permalink / raw)
  To: Caml List

I have a fairly complex program that has numerous callbacks between
Ocaml, C and back to Ocaml (I'm using Debian's 3.06).

If I compile my program byte-code, it works well.

However, if I compile it native, it seems to leak memory, just consuming
more and more memory as it runs.

I was wondering if anyone has any pointers on how to debug this kind of
issue.  I've checked the C stubs, and I think I'm using the macros
correctly.

I guess what would be helpful would be any pointers on what might be
different between bytecode and native.  I do use callbacks, but the main
program is in Ocaml.

Thanks,
David Brown
-------------------
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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-12-07 21:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-05 18:48 [Caml-list] Memory leak with native code David Brown
2002-12-05 19:14 ` Markus Mottl
2002-12-05 20:31 ` Basile STARYNKEVITCH
2002-12-07 10:42   ` Xavier Leroy
2002-12-07 21:52     ` David Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).