[plt-scheme] Collect-Garbage not enabled on Dr. Scheme?

From: emre berat nebioğlu (beratn at gmail.com)
Date: Sat Apr 4 18:43:33 EDT 2009

i heard something about garbage collector.
Someone said to me Drscheme has 3 or 4 garbage collector.Is it true ? If it
is true.How it works and how drscheme uses tese.
On Sun, Apr 5, 2009 at 12:56 AM, David Yrueta <dyrueta at gmail.com> wrote:

> David --
> Thank you for the teachpack and the explanation.  Much appreciated!
> Dave Yrueta
> 2009/4/4 David Van Horn <dvanhorn at ccs.neu.edu>
>> David Yrueta wrote:
>>> Thank you.  I'm not working on any of those platforms, just on Dr.
>>> Scheme.  Can you explain to me what collect-garbage does?
>> Hi David,
>> I've attached a teachpack that makes collect-garbage available.  Save the
>> file, open DrScheme, select Language > Add Teachpack ..., Add Teachpack to
>> List... Navigate to the saved file and select it.  You should now be able to
>> run your program.
>> DrScheme will implicitly collect values that are no longer in use during
>> the running of your program so that their memory can be re-used (this
>> process is called "garbage collection").  This process takes time, so in
>> order for your timings to be more accurate, you should explicitly cause this
>> process to happen just before collecting timing information.
>> David
>> #lang scheme
>> (provide collect-garbage)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20090405/c42bad77/attachment.html>

Posted on the users mailing list.