This site requires JavaScript, please enable it in your browser!
Greenfoot back
lgbrf
lgbrf wrote ...

2013/4/27

Error: java.lang.OutOfMemoryError: Java heap space

lgbrf lgbrf

2013/4/27

#
i keep getting this error: java.lang.OutOfMemoryError: Java heap space when i try and compile. What does this mean and how can i fix it? Thanks :)
JetLennit JetLennit

2013/4/27

#
Code?
Duta Duta

2013/4/27

#
The first possible fix is literally just closing and re-opening Greenfoot. If that doesn't work, then I'd have to actually see your code to be able to determine the issue. The most probable reason is you're working with a large number of GreenfootImage objects.
lgbrf lgbrf

2013/4/28

#
Opening and closing it fixed it... i feel pretty silly for not trying that. Thanks guys :D
You need to login to post a reply.