How to force a GC
Mark Guzdial
guzdial at cc.gatech.edu
Mon Nov 29 19:48:13 UTC 1999
Smalltalk garbageCollect
or
Smalltalk bytesLeft
(They actually do the same thing, but the latter seems more natural
if you want the return value.)
Mark
>Can someone please clue me in on how to force a GC, either full or
>incremental? I've tried things like
>
> ObjectMemory new fullGC
>
>but this just gives a MNU dialog. I'm sure it's something obvious which has
>escaped me. Thanks.
>
>Bob Jarvis
>Compuware @ Timken
--------------------------
Mark Guzdial : Georgia Tech : College of Computing : Atlanta, GA 30332-0280
(404) 894-5618 : Fax (404) 894-0673 : guzdial at cc.gatech.edu
http://www.cc.gatech.edu/gvu/people/Faculty/Mark.Guzdial.html
More information about the Squeak-dev
mailing list
|