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

2014/6/10

Error message help

Gingervitis Gingervitis

2014/6/10

#
I am getting this weird error message that I have seen before. Can someone explain to me how I can fix this error? Here is the message. Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space 2014-06-10 19:34:50.137 java JavaNativeFoundation error occurred obtaining Java exception description 2014-06-10 19:34:50.138 java Internal JNF Error: failed calling Throwable.toString() 2014-06-10 19:34:50.139 java ( 0 CoreFoundation 0x00007fff85b56b06 __exceptionPreprocess + 198 1 libobjc.A.dylib 0x00007fff8c3dd3f0 objc_exception_throw + 43 2 CoreFoundation 0x00007fff85beaf49 - + 9 3 JavaNativeFoundation 0x000000010f6d732c JNFNewObject + 216 4 libawt.jnilib 0x00000001175c21a4 nsEventToJavaEvent + 1586 5 libawt.jnilib 0x00000001175c1a29 + + 152 6 libawt.jnilib 0x00000001175becc9 + + 2257 7 AppKit 0x00007fff889ae983 - + 7994 8 libawt.jnilib 0x00000001175baa0c - + 185 9 AppKit 0x00007fff889aa32c - + 4969 10 AppKit 0x00007fff888c021a - + 636 11 libawt.jnilib 0x00000001175956e0 + + 1495 12 libawt.jnilib 0x000000011759505a - + 93 13 Foundation 0x00007fff8ea7c5ca __NSThreadPerformPerform + 225 14 CoreFoundation 0x00007fff85ad5b31 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 15 CoreFoundation 0x00007fff85ad5455 __CFRunLoopDoSources0 + 245 16 CoreFoundation 0x00007fff85af87f5 __CFRunLoopRun + 789 17 CoreFoundation 0x00007fff85af80e2 CFRunLoopRunSpecific + 290 18 java 0x000000010edeb843 java + 18499 19 java 0x000000010edeb29a java + 17050 20 java 0x000000010ede8a98 java + 6808 21 ??? 0x000000000000000a 0x0 + 10 ) Exception in thread "AWT-EventQueue-0" 2014-06-10 19:35:00.973 java JavaNativeFoundation error occurred obtaining Java exception description 2014-06-10 19:35:00.974 java Internal JNF Error: failed calling Throwable.toString() 2014-06-10 19:35:00.975 java ( 0 CoreFoundation 0x00007fff85b56b06 __exceptionPreprocess + 198 1 libobjc.A.dylib 0x00007fff8c3dd3f0 objc_exception_throw + 43 2 CoreFoundation 0x00007fff85beaf49 - + 9 3 JavaNativeFoundation 0x000000010f6d732c JNFNewObject + 216 4 libawt.jnilib 0x00000001175c2d66 makeMouseClickedEvent + 448 5 libawt.jnilib 0x00000001175c29dc + + 431 6 libawt.jnilib 0x00000001175c281a - + 63 7 AppKit 0x00007fff889ae5d6 - + 7053 8 libawt.jnilib 0x00000001175baa0c - + 185 9 AppKit 0x00007fff889aa644 - + 5761 10 AppKit 0x00007fff888c021a - + 636 11 libawt.jnilib 0x00000001175956e0 + + 1495 12 libawt.jnilib 0x000000011759505a - + 93 13 Foundation 0x00007fff8ea7c5ca __NSThreadPerformPerform + 225 14 CoreFoundation 0x00007fff85ad5b31 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 15 CoreFoundation 0x00007fff85ad5455 __CFRunLoopDoSources0 + 245 16 CoreFoundation 0x00007fff85af87f5 __CFRunLoopRun + 789 17 CoreFoundation 0x00007fff85af80e2 CFRunLoopRunSpecific + 290 18 java 0x000000010edeb843 java + 18499 19 java 0x000000010edeb29a java + 17050 20 java 0x000000010ede8a98 java + 6808 21 ??? 0x000000000000000a 0x0 + 10 ) java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space )
erdelf erdelf

2014/6/10

#
restarting greenfoot mostly fixes that
Gingervitis Gingervitis

2014/6/10

#
I tried that as well as shutting off my computer and the errors still occur.
erdelf erdelf

2014/6/11

#
are u creating an endless loop or something like that `?
JetLennit JetLennit

2014/6/11

#
It can also be an image that is to large.
danpost danpost

2014/6/11

#
Only thing I can suggest is that you comment out things until the error goes away. Then systematically uncomment bits and pieces until you find the culprit.
Gingervitis Gingervitis

2014/6/11

#
That actually worked. My loop had a wrong value in it. Thank you for the help!
You need to login to post a reply.