Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space #46

Open
NeonOCE opened this issue Jul 12, 2021 · 0 comments
Open

"AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space #46

NeonOCE opened this issue Jul 12, 2021 · 0 comments

Comments

@NeonOCE
Copy link

NeonOCE commented Jul 12, 2021

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)

Capture

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant