Changing the heap size is configurable from the gvm command line. I changed it to 8 MBytes so that I could play SNES games in Little John Emulator. See my posts on this thread: http://talk.maemo.org/showthread.php?t=28435