Exception in thread "main" java.lang.OutOfMemoryError: Java heap space Exception in thread "Thread-0" java.lang.OutOfMemoryError: Java heap space