Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Oberonmeister

Pages: [1]
1
Hi there! I have a problem. I'm not a new player but I just don't know how to solve it. I recently decided to get some more mods than I usually use to enjoy more endgame content since i'ts just not much to do after certain moment in the game. For my last save I've got about 30 mods (all libs, grand sector, vayra sector, nex, about 20 factions and some misc mods like unknown skies, some more ships and systems etc. just to improve variety). I knew a lot of mods requires more resources for jre to work properly so I've allocated 6G for it from the start. I've played for about 20 hours in total and then started to get GC overhead errors. I googled it and found out it was lack of RAM allocated for jre so garbage collector couldn't work. I was surprised since OP here says 6G would be plenty for all existing mods combined. So, I've increased the heap to 8G and was able to play about 6 more hours before I started to get GC overhead again. AFAIK jre can't really chew more than 8G, so it seems like this is the end of my game here, and it was giong so well, I just put my first colony... I REALLY don't want to drop it. I could potentially allocate 10G but my RAM is not infinite and I just can't be sure that all I get from it wouldn't be another couple of hours, and after that I wouldn't be able to save again.

It is a major bummer since I have a friend who has about twice number of mods than I do (all mods I have and about 30 more) and he never had any trouble with them even though he only has 6G heap and he plays his save much longer than I do.

My system is quite old except GTX 1060 6G, I've got a very old i5 2400 and 16G of DDR2, so the game is slow but I don't mind it much, I just want it to save. It shouldn't matter how old is the hardware as long as you have enough RAM, right?

Here's the last part of the log after it fails to save:
Spoiler
7310788 [Thread-16] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving progress: 0.46897376
7310788 [Thread-16] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Releasing context
7310788 [Thread-16] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Released context
7311181 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Error saving game
7311181 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Renaming [campaign.xml.bak] to [campaign.xml]
7311181 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Renaming [descriptor.xml.bak] to [descriptor.xml]
7311182 [Thread-4] ERROR com.fs.starfarer.campaign.save.CampaignGameManager  - GC overhead limit exceeded
java.lang.OutOfMemoryError: GC overhead limit exceeded
   at java.util.Arrays.copyOfRange(Unknown Source)
   at java.lang.String.<init>(Unknown Source)
   at java.lang.StringBuffer.toString(Unknown Source)
   at com.thoughtworks.xstream.io.path.PathTracker.peekElement(PathTracker.java:133)
   at com.thoughtworks.xstream.io.path.PathTracker.getPath(PathTracker.java:169)
   at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:53)
   at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
   at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.mars hallField(AbstractReflectionConverter.java:274)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:250)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:213)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMa rshal(AbstractReflectionConverter.java:144)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.mars hal(AbstractReflectionConverter.java:90)
   at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
   at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
   at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.mars hallField(AbstractReflectionConverter.java:274)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:250)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:209)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMa rshal(AbstractReflectionConverter.java:144)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.mars hal(AbstractReflectionConverter.java:90)
   at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
   at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
   at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.mars hallField(AbstractReflectionConverter.java:274)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:250)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:213)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMa rshal(AbstractReflectionConverter.java:144)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.mars hal(AbstractReflectionConverter.java:90)
   at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
   at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
   at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
7311183 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 9 (exception)
7311183 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 10 (exception)
7311183 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 11 (exception)
7311183 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 12 (exception)
7311183 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 13 (exception)
7311183 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 14 (exception)
7311257 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 15 (exception)
7311262 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 16 (exception)
[close]

I'm not sure the other part is important but I can attach the whole file if needed.

BTW, the console says jre only uses like 1,4G so I'm just out of ideas... Please help if you can.

P.S. Okay, I've tried to increase the heap to 10G just to test it and now I'm getting all sorts of stack overflow errors instead while trying to save. I think this campaign is unsalvageable at this point.

P.P.S.Well, either this topic is dead-dead, or I just posted this in a wrong place, or maybe just nobody is interested in this. Anyway, it seems I missed the most obvious thing whlie trying to troubleshoot my issue, which is actually updating mods. Some of them that I think are the most important ones were quite old and missing a few major updates. I didn't really expect major improvement from updating but it actually did improve my experience a lot. So, if you have a similar issue, just try updating first.

Pages: [1]