Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Recycle Question

From: tim:johnsons-web at: 9-Nov-2001 11:19

On Fri, Nov 09, 2001 at 08:23:15PM +0100, Nenad Rakocevic wrote:
> Hi Tim, > > Here is how i think it works : > > A Garbage Collection is automatically done by Rebol whenever it judges that > there're too much unreferenced values. > > You can force a garbage collection by calling 'recycle when you think that > a GC would be usefull. > > 'recycle/off will switch off the automatic mode. No garbage collection will > occur until you call 'recycle explicitly or get back to automatic mode with > 'recycle/on. This mode can be usefull if you have a critical part in your code > and want to be sure that you won't be interrupted by a GC. Personnaly, i've not > yet faced such case. :) > > You can see some GC stats in system/stats/recycle. (use %mem-stats.r from the > library to interpret those values or %mem-watch.r from my REB-site) > > HTH, > -DocKimbel
Thank you DocKimbel! -- Tim Johnson <[tim--johnsons-web--com]> http://www.johnsons-web.com