From: Ching-Tsun Chou <ctchou@mipos2.intel.com>
To: dmcclain@azstarnet.com
Cc: caml-list@inria.fr
Subject: Re: Memory management under OCAML
Date: Tue, 31 Aug 1999 16:00:34 -0400 (EDT) [thread overview]
Message-ID: <199908312000.QAA05934@zws197.sc.intel.com> (raw)
In-Reply-To: <000901bef310$b08c8ce0$210148bf@dylan> (dmcclain@azstarnet.com)
I am trying to understand the behavior of the interactive OCAML system. If I
repeatedly perform the following line:
let x = Array.create 1000000 0.0;;
then each subsequent execution should shadow the previous ones making them
unreachable. Yet the GC never collects the old bindings, even after I
manually perform Gc.full_major() or Gc.compact(). Why is this?
Some time ago I observed the same thing and asked the same question.
To see the answer, go to the archive of Caml mailing list and search
for the thread "What exactly can be GC'ed?"
- Ching Tsun
=====================================================================
Ching-Tsun Chou E-mail: ctchou@mipos2.intel.com
Intel Corporation Tel: (408) 765-5468
3600 Juliette Lane, SC12-401 Fax: (408) 653-7933
Santa Clara, CA 95052, U.S.A. Sec: (408) 653-8849
=====================================================================
prev parent reply other threads:[~1999-09-01 8:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-08-30 17:54 David McClain
1999-08-31 20:00 ` Ching-Tsun Chou [this message]
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=199908312000.QAA05934@zws197.sc.intel.com \
--to=ctchou@mipos2.intel.com \
--cc=caml-list@inria.fr \
--cc=dmcclain@azstarnet.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