mirror of
https://github.com/dschmenk/PLASMA.git
synced 2024-06-01 19:41:36 +00:00
More room for recursion
This commit is contained in:
parent
c6220f389d
commit
a6c94440a2
Binary file not shown.
|
@ -226,12 +226,12 @@ if not except(exit)
|
||||||
return
|
return
|
||||||
fin
|
fin
|
||||||
fileio:iobufalloc(2) // Reserve two I/O buffers
|
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")
|
puts(" No available memory for copy buffer\n")
|
||||||
return
|
return
|
||||||
fin
|
fin
|
||||||
copysize = MAXBUFSIZE
|
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
|
copysize = copysize - 1024
|
||||||
loop
|
loop
|
||||||
copyrel = heapalloc(copysize + 256)
|
copyrel = heapalloc(copysize + 256)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user