java.lang.OutOfMemoryError: Java heap space
in
Integration and Hardware
•
2 years ago
I searched but didn't really found a solution:
p.s. i use eclipse, don't know if that can be a part of the problem.
It only happens with opengl, without opengl it runs fine (but slower...).Exception in thread "Animation Thread" java.lang.OutOfMemoryError: Java heap space
Exception in thread "D3D Screen Updater" java.lang.OutOfMemoryError: Java heap space
at java.lang.reflect.Array.newArray(Native Method)
at java.lang.reflect.Array.newInstance(Unknown Source)
at java.util.Arrays.copyOf(Unknown Source)
at java.util.ArrayList.toArray(Unknown Source)
at sun.java2d.d3d.D3DScreenUpdateManager.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception in thread "AWT-EventQueue-1" java.lang.OutOfMemoryError: Java heap space
at java.lang.Class.getDeclaredMethods0(Native Method)
p.s. i use eclipse, don't know if that can be a part of the problem.
1