Hi, the error "not enough memory" or something like this appears also sometimes in Google Maps...but when you wait some seconds, the error disappears...maybe also in your games?!
You can change the Java Heap Size in the Engineer Mode, but when i tried to start Java Apps with a bigger Heap Size than the 3xxxkB they quit immediately on startup. I think there's no way to enlarge the Java Heap Size.