-
Notifications
You must be signed in to change notification settings - Fork 58
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
Hang When saved #1150
Comments
Hello |
Which autosave causes the second error? |
As you can see the recent ones at 332PM, it just hang on me after 5 mins.... |
This is screen record of how it hang~ |
I tried running your save for a while but could not reproduce the error. |
Sure! Where is the log folder?
Let me know!
On Sunday, 9 June 2024 at 05:21:48 am SGT, Zoltan ***@***.***> wrote:
I tried running your save for a while but could not reproduce the error.
There should be a few .log files in your open-ig folder, could you please post those here so I can better look what might have happened.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
After trying the java version in your error report I did manage to have a similar error. |
Ok download the adoptium so this is the upodateed java eh? here you go log file!@ |
You could also try using a 64bit version of java 8 from the page below. It also seemed to work just fine. |
yeah my previous is 64bit ;( |
The overall problem is that the game runs out of available memory. The short term solution is to use newer versions of java as those have better memory handling. |
Ooo i see, only have the 64bits java installed now & it still hang~ how does a game run out of memory? ;(
On Tuesday, 11 June 2024 at 04:04:24 pm SGT, Zoltan ***@***.***> wrote:
The overall problem is that the game runs out of available memory. The short term solution is to use newer versions of java as those have better memory handling.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Is it the java 8 64bit or the adoptium one? |
Java 8 bit you send, i installed~ This is the one right as attached? Adoptium one i also downloaded, so will it supercede or?
MK
On Tuesday, 11 June 2024 at 05:02:27 pm SGT, Zoltan ***@***.***> wrote:
Is it a java 8 64bit or the adoptium one?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
The one on the adoptium site is the newer one, try that instead. |
Ok do i have to change this setting before install?
MK
On Tuesday, 11 June 2024 at 05:37:18 pm SGT, Zoltan ***@***.***> wrote:
The one on the adoptium site is the newer one, try that instead.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
install on local drive or entire feature installed?
MK
On Tuesday, 11 June 2024 at 05:41:45 pm SGT, Michael Kwah ***@***.***> wrote:
Ok do i have to change this setting before install?
MK
On Tuesday, 11 June 2024 at 05:37:18 pm SGT, Zoltan ***@***.***> wrote:
The one on the adoptium site is the newer one, try that instead.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Ok i installed it few days ago so it will auto run after i click the game app again? if it is then the result still hang~
MK
On Tuesday, 11 June 2024 at 06:43:09 pm SGT, Zoltan ***@***.***> wrote:
These settings should be enough
image.png (view on web)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
No need change anything right?
On Tuesday, 11 June 2024 at 06:43:09 pm SGT, Zoltan ***@***.***> wrote:
These settings should be enough
image.png (view on web)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Remember this setting? #1149 (comment) Go in there and change the number to 1500 and see if that hangs. |
@MK-coder-bit If you installed the java 8 64bit I suggested, that would've overwritten the adoptium installation settings so just to be sure reinstall the adoptium again. For me it hang even with 2048MB memory limit when using a 32bit jvm. I'm working on a PR that might alleviate some of the issue. |
OMG changing to 1500 setting works! thank you guys! if anything hang, let you know again! |
It turns out, not surprisingly, that this was also caused by my diplomacy bug. Deleting the message history in the bottom message bar solves this. |
The message overflow causing this should be solved with #1152 |
Hi! Thank you for the game update! After i update, everything seem to be doing great, till i save~ it hang on me~
Error msg as below
An unexpected error occurred.
You should consider submitting an error report via the project issue list:
https://github.com/akarnokd/open-ig/issues
Please include the following diagnostic information followed by the error stacktrace(s):
Java version: 1.8.0_361
Java vendor: Oracle Corporation (http://java.oracle.com/)
Java class version: 52.0
Operating system: Windows 10, amd64, 10.0
Game version: 0.95.248
Command line: [-memonce, -en]
Available memory: 174 MB
Maximum memory: 910 MB
Parallelism: 12
Language: en
Date and time: 2024-06-07T23:33:47.622Z
A crash save may have been created. Please attach it in the issue report (zipped).
javax.xml.stream.XMLStreamException: java.io.EOFException
at hu.openig.utils.XElement.parseXMLGZ(XElement.java:327)
at hu.openig.screen.items.LoadSaveScreen.findSaves(LoadSaveScreen.java:2237)
at hu.openig.screen.items.LoadSaveScreen$16.doInBackground(LoadSaveScreen.java:744)
at hu.openig.screen.items.LoadSaveScreen$16.doInBackground(LoadSaveScreen.java:1)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.EOFException
at java.util.zip.GZIPInputStream.readUByte(Unknown Source)
at java.util.zip.GZIPInputStream.readUShort(Unknown Source)
at java.util.zip.GZIPInputStream.readHeader(Unknown Source)
at java.util.zip.GZIPInputStream.(Unknown Source)
at java.util.zip.GZIPInputStream.(Unknown Source)
at hu.openig.utils.XElement.parseXMLGZ(XElement.java:323)
... 9 more
javax.xml.stream.XMLStreamException: java.io.EOFException
at hu.openig.utils.XElement.parseXMLGZ(XElement.java:327)
at hu.openig.screen.items.LoadSaveScreen.findSaves(LoadSaveScreen.java:2237)
at hu.openig.screen.items.LoadSaveScreen$16.doInBackground(LoadSaveScreen.java:744)
at hu.openig.screen.items.LoadSaveScreen$16.doInBackground(LoadSaveScreen.java:1)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.EOFException
at java.util.zip.GZIPInputStream.readUByte(Unknown Source)
at java.util.zip.GZIPInputStream.readUShort(Unknown Source)
at java.util.zip.GZIPInputStream.readHeader(Unknown Source)
at java.util.zip.GZIPInputStream.(Unknown Source)
at java.util.zip.GZIPInputStream.(Unknown Source)
at hu.openig.utils.XElement.parseXMLGZ(XElement.java:323)
... 9 more
javax.xml.stream.XMLStreamException: java.io.EOFException
at hu.openig.utils.XElement.parseXMLGZ(XElement.java:327)
at hu.openig.screen.items.LoadSaveScreen.findSaves(LoadSaveScreen.java:2237)
at hu.openig.screen.items.LoadSaveScreen$16.doInBackground(LoadSaveScreen.java:744)
at hu.openig.screen.items.LoadSaveScreen$16.doInBackground(LoadSaveScreen.java:1)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.EOFException
at java.util.zip.GZIPInputStream.readUByte(Unknown Source)
at java.util.zip.GZIPInputStream.readUShort(Unknown Source)
at java.util.zip.GZIPInputStream.readHeader(Unknown Source)
at java.util.zip.GZIPInputStream.(Unknown Source)
at java.util.zip.GZIPInputStream.(Unknown Source)
at hu.openig.utils.XElement.parseXMLGZ(XElement.java:323)
... 9 more
save files zip as attached
save.zip
The text was updated successfully, but these errors were encountered: