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

[REBOL] Out of memory

From: louisaturk:eudoramail at: 9-Apr-2002 1:38

Fellow rebols, Several of you helped me write the following code to keep trying to ftp a page to a remote server until it suceeds: until [either error? try [write ftp://id:[password--ftp--website--com]/www/index.html read %webpage.html][print FTP Error: trying again ... false][true]] This works great most of the time, and has been a great help to me (for which I am very thankful to those of you that helped me). However, it seems that upon each try it uses a little bit more memory and does not release it. So, after a certain number of tries (quite a few as my computer has 512 Meg of RAM) the program crashes, giving an out of memory error message. Is there any way to release that memory to prevent a crash? Or is this perhaps a bug in Core 2.5 that could be fixed in 2.6? Louis