From: Xavier Leroy <Xavier.Leroy@inria.fr>
To: Dmitry Bely <dmitry.bely@gmail.com>
Cc: Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] Ocaml DLL and memory leaks
Date: Thu, 10 May 2007 19:21:54 +0200 [thread overview]
Message-ID: <464354B2.30806@inria.fr> (raw)
In-Reply-To: <90823c940705090345k5c70fcc3p35ca3cc4412909c2@mail.gmail.com>
> I have an Ocaml module packed into DLL that is dynamically loaded by
> the main C program. What should I do to free all memory taken by Ocaml
> runtime when the DLL is unloaded?
This si not possible currently. I agree the OCaml runtime system
should one day provide a cleanup function to do this.
Regards,
- Xavier Leroy
next prev parent reply other threads:[~2007-05-10 17:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-09 10:45 Dmitry Bely
2007-05-10 17:21 ` Xavier Leroy [this message]
2007-05-11 13:19 ` [Caml-list] " Dmitry Bely
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=464354B2.30806@inria.fr \
--to=xavier.leroy@inria.fr \
--cc=caml-list@inria.fr \
--cc=dmitry.bely@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).