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

[REBOL] Re: Memory usage

From: maillist:peter:home:se at: 18-Oct-2005 21:18

Gregg Irwin wrote:
> Hi Peter, > > PC> I have noticed that if I execute a script repeatedly > PC> I will eventually ran out of memory. I have seen this > PC> for REBOL/Core on both Linux and Windows and with > PC> different versions. > > PC> I am almost certain that it has to do with my script > PC> and the way REBOL allocate memory for variables. What > PC> should I do in my script to clean up before exit? > > Can you provide more information about what your script does? Hard to > say otherwise.
Well, it actually is a big program which creates a few but big lists of text strings. These lists are initially cleared with 'a-list: copy []'. Is there a better way? I thought that this would clear any old values and free that memory. Maybe I should do like Sunanda suggested in a previous email. Could I use 'context' for this purpose? Best regards, Peter Carlsson