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

[REBOL] Re: Scan for files through deep directory

From: SunandaDH::aol::com at: 3-Mar-2006 10:02

Thorsten:
> Is there way to achieve this with less memory consumption???
Undoubtable! But it would help having a sample bad script and some knowledge of what is going wrong. Diagnosing blindly, I suspect most such scripts are written to run recursively, so a very deep folder structure could cause them to need a lot of stack space. A non-recursive solution will need far less interim storage. But 500meg sounds a lot. I dusted off the equivalent script I once wrote and tried it on my folder structure, and it needed less than 100K of interim storage. But then may not have so deep a tree as you. Can you post an example of the code you are using? Sunanda