App hangs permanently when launching via .jar.
Launching via CLI and increasing to 2GB memory cap still produces the same error listed beneath:
App verision: Editor-alpha-9
Java version: JRE 8u291
Game version: 2.28.2124
C:\WINDOWS\system32>java -jar "F:\Games\Steam\steamapps\common\Spellforce 2 - Faith in Destiny\SFGameDataEditor-master\SFGameDataEditor-master\Editor\bin\Editor-alpha-9.jar" -Xmx2048m
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
at sfgamedataeditor.files.DataFilesParser.readData(DataFilesParser.java:114)
at sfgamedataeditor.files.DataFilesParser.extractAllDataFromFile(DataFilesParser.java:91)
at sfgamedataeditor.files.FileUtils.uploadDataIntoDatabase(FileUtils.java:39)
at sfgamedataeditor.views.fileselection.UploadDataButtonListener.actionPerformed(UploadDataButtonListener.java:48)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6635)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
at java.desktop/java.awt.Component.processEvent(Component.java:6400)
at java.desktop/java.awt.Container.processEvent(Container.java:2263)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
App hangs permanently when launching via .jar. Launching via CLI and increasing to 2GB memory cap still produces the same error listed beneath:
App verision: Editor-alpha-9 Java version: JRE 8u291 Game version: 2.28.2124