Error:
"Requested allocation is too large. Try with smaller argument to --heap"
I downloaded the windows binary from http://www.gnu.org/software/mit-scheme/.
How do I fix this?
Error:
"Requested allocation is too large. Try with smaller argument to --heap"
I downloaded the windows binary from http://www.gnu.org/software/mit-scheme/.
How do I fix this?
I am not sure why it does not work when I append --heap 512 at the end. But it works for me when I append it after mit-scheme.exe"
... mit-scheme.exe" --heap 512 --library ...
Right click the link to the application and select properties. Edit the target:
"C:\Program Files (x86)\MIT-GNU Scheme\bin\mit-scheme.exe" --library "C:\Program Files (x86)\MIT-GNU Scheme\lib" --edit
Add:
--heap 512
See also: http://savannah.gnu.org/bugs/?31710
Create a new system variable called
MITSCHEME_HEAP_SIZE
and set its value to 512
I had to update to 9.2 and add --heap 512
after "C:\Program Files (x86)\MIT-GNU Scheme\bin\mit-scheme.exe"
Solution
Remove "--edit" from "Target" Under "Properties" ~ Original Answer from Irvin Denzel Torcuato
System / Settings
OS: Windows 10
© 2022 - 2024 — McMap. All rights reserved.