[racket] Racket Virtual Machine runs out of memory

From: Harry Spier (vasishtha.spier at gmail.com)
Date: Fri Jul 20 09:38:57 EDT 2012

Dear list members,

As part of my application I create a list of lists of 1's and 0's
from an image file.
When the size of the list of lists is: 1055 x 1066 it works fine,
but when the size of the list of lists is: 4091 x 5023 then the
program aborts with the error message:
Racket Virtual Machine run out of memory: Aborting

I've narrowed the error down to where I create the l create the list.
I.e. the error occurs during creation of the list and not during use
of the list.
I compiled the program with no debugging information using the
DrRacket "create executable" option and then ran the executable.

Any suggestions of what I can do to get around this?

Thanks,
Harry Spier

Posted on the users mailing list.