After the stutter and then crash https://itch.io/t/130260/stuttering-after-death I get this message:
warning CollisionDispatcher.needsCollision: static-static collision!
warning CollisionDispatcher.needsCollision: static-static collision!
Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: java.lang.OutOfMemoryError: Java heap space
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:131)
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOfRange(Arrays.java:3664)
at java.lang.String.<init>(String.java:207)
at com.badlogic.gdx.utils.JsonReader.parse(JsonReader.java:188)
at com.badlogic.gdx.utils.JsonReader.parse(JsonReader.java:55)
at com.badlogic.gdx.utils.JsonReader.parse(JsonReader.java:75)
at com.nilunder.bdx.Scene.init(Scene.java:185)
at com.nilunder.bdx.Bdx$ArrayListScenes.add(Bdx.java:111)
at com.nilunder.bdx.Bdx$ArrayListScenes.add(Bdx.java:122)
at com.solarlune.gearend.system.SysCon.setGameScene(SysCon.java:606)
at com.solarlune.gearend.system.SysCon.loadGame(SysCon.java:506)
at com.solarlune.gearend.system.mainmenu.MainMenuCursor.main(MainMenuCursor.java:226)
at com.nilunder.bdx.Scene.runObjectLogic(Scene.java:848)
at com.nilunder.bdx.Scene.update(Scene.java:894)
at com.nilunder.bdx.Bdx.main(Bdx.java:314)
at com.solarlune.gearend.BdxApp.render(BdxApp.java:44)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:223)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:124)
I tried using the -Xms2048m and -Xmx2048m to increase the memory ceiling, but same errors still happen.
jre\bin\java -jar Gearend-1.0.jar -Xms2048m -Xmx2048m