* Q: GC and scope
@ 1996-02-16 9:57 Jocelyn Serot
0 siblings, 0 replies; only message in thread
From: Jocelyn Serot @ 1996-02-16 9:57 UTC (permalink / raw)
To: caml-list
Hello,
I have a basic question regarding the behaviour of the Caml-Light Garbage
collector: when an object becomes hidden, because of a its name is rebound at
the top level, is it automatically reclaimed by the gc ?...
For example:
#let m = make_vect 1024 0;;
m : int vect = [|0; 0; 0; 0; 0; ... |]
...
#let m = 0;;
m : int = 0 (* <- Will the space allocated for the vector be reclaimed ?*)
My problem is that i want manipulate *large* objects (image ADTs) in an
applicative way (ie creating a new object at each operation) without
saturating Caml memory..
Thanks for any help
Jocelyn
--
E-mail: Jocelyn.Serot@lasmea.univ-bpclermont.fr .............................
S-mail: LASMEA - URA 1793 CNRS, Universite Blaise Pascal, 63177 Aubiere cedex
Tel: (33) 73.40.73.30 - Fax: (33) 73.40.72.62 ...............................
.... http://wwwlasmea.univ-bpclermont.fr/Personnel/Jocelyn.Serot/Welcome.html
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-02-16 15:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-02-16 9:57 Q: GC and scope Jocelyn Serot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox