7

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?

adijo
  • 1,450
  • 1
  • 14
  • 20

5 Answers5

7

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 ...
Jacky
  • 8,619
  • 7
  • 36
  • 40
2

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

0

Create a new system variable called

MITSCHEME_HEAP_SIZE

and set its value to 512

Draken
  • 3,134
  • 13
  • 34
  • 54
0

I had to update to 9.2 and add --heap 512 after "C:\Program Files (x86)\MIT-GNU Scheme\bin\mit-scheme.exe"

Robert Mearns
  • 11,796
  • 3
  • 38
  • 42
Len
  • 1
-1

Solution

Remove "--edit" from "Target" Under "Properties" ~ Original Answer from Irvin Denzel Torcuato

System / Settings

OS: Windows 10

Kane Chew
  • 3,693
  • 4
  • 12
  • 24