>>>>> "Sven" == Sven Hartrumpf <Sven.Hartrumpf@fernuni-hagen.de> writes:
Sven> Hi all.
Sven> How can I avoid the following error?
Sven> (The manual contains the word "shortage" only once:
Sven> in a listing of interrupt names.)
Sven> Scsh 0.5.3
>> (define a (glob "2000*")) ; around 60000 files should match :-)
Sven> Interrupt: memory-shortage
You probably should start with a bigger heap. Unfortunately, you
cannot specify the heap size if you call the executable "scsh" itself,
but you have to call the VM with heapsize and image. So, check whether
something like this will work:
/usr/local/lib/scsh/scshvm -i /usr/local/lib/scsh/scsh.image -h 10000000
Maybe you have to adapt the paths and the heap size for your needs.
Once this works you have two possibilities: Rebuild scsh with a bigger
initial heap (adapt the value DEFAULT_HEAP_SIZE in main.c for this) or
write a small shell script with the line above in it.
Sorry, I don't know of a better alternative.