Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
Reason;Eclipse uses default value of memory, if you don't change it. While using large data in your program, this default value is not enough.
Solution;
Eclipse>Windows> Preferences> Java> Installed JREs> Select the JRE> Click edit> Write in the Default VM Arguments: -Xmx1024M or any other amount of memory ...
Hiç yorum yok:
Yorum Gönder