mirror of
https://github.com/dschmenk/PLASMA.git
synced 2026-04-20 16:16:34 +00:00
More room for recursion
This commit is contained in:
Binary file not shown.
@@ -226,12 +226,12 @@ if not except(exit)
|
||||
return
|
||||
fin
|
||||
fileio:iobufalloc(2) // Reserve two I/O buffers
|
||||
if isule(heapavail, MINBUFSIZE + 4096)
|
||||
if isule(heapavail, MINBUFSIZE + 6144)
|
||||
puts(" No available memory for copy buffer\n")
|
||||
return
|
||||
fin
|
||||
copysize = MAXBUFSIZE
|
||||
while isult(heapavail, copysize + 4096) // Leave lots of room for recursion
|
||||
while isult(heapavail, copysize + 6144) // Leave lots of room for recursion
|
||||
copysize = copysize - 1024
|
||||
loop
|
||||
copyrel = heapalloc(copysize + 256)
|
||||
|
||||
Reference in New Issue
Block a user