Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Simulator Enhancements (03/13/24)

Author Topic: Strange Save Game Issues  (Read 2115 times)

intrinsic_parity

  • Admiral
  • *****
  • Posts: 3071
    • View Profile
Strange Save Game Issues
« on: June 18, 2018, 06:17:26 PM »

I've been having a lot of save-game hang ups. It doesn't usually give an overhead error (although occasionally it will), instead the saving progress will slow down and eventually freeze, before switching to 'saving backup' (music beings playing normally again) and hanging forever (I've left it for 30+ minutes, no crash and no progress, CPU is not doing anything). I have allocated 6gb (I have 16 so not a problem) of ram, but the application doesn't use much more than 3 gb. I am playing on a Mac, 2.7 Ghz i7, Radeon Pro 455 w/ 2gb vram.

Mod List:
Dynasector 1.4.5
Blackrock 0.9.0
Console Commands 3.0
Interstellar Imperium 1.19.0
LazyLib 2.2
Nexerelin 0.8.3
Save Transfer 1.11.7
Shadowyards 0.7
Ship/Weapons Pack 1.7.1
Mayorate 0.10.3
Version Checker 1.7
ZZ graphics lib 1.2.1



Link to Log on pastebin
https://pastebin.com/LSW5n2H2

edit:
This time when I tried to save, it bogged down and stopped making save progress but instead of going to 'saving backup', it just stayed at like 50% progress for almost 30 minutes before finally giving an out-of-memory error. It was using almost 100% of my CPU for 30 minutes but it made no progress, and the memory usage stayed at 3 gb the whole time even though I have 6 gb allocated.

error from log
Spoiler
3754310 [Thread-14] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving progress: 0.4733546
3777852 [Thread-14] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving progress: 0.4733546
3794072 [Thread-14] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving progress: 0.4733546
3807915 [Thread-14] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving progress: 0.4733546
3822882 [Thread-14] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving progress: 0.4733546
3856713 [Thread-14] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Releasing context
3859275 [Thread-14] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Released context
3883933 [Thread-5] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 9 (exception)
3883934 [Thread-5] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 10 (exception)
3883934 [Thread-5] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 11 (exception)
3883934 [Thread-5] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 12 (exception)
3883934 [Thread-5] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 13 (exception)
3883934 [Thread-5] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 14 (exception)
3883953 [Thread-5] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 15 (exception)
3883953 [Thread-5] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 16 (exception)
3883954 [Thread-5] INFO  sound.oo0O  - Cleaning up music with id [miscallenous_corvus_campaign_music.ogg]
3883965 [Thread-5] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
   at com.thoughtworks.xstream.io.path.PathTracker.getPath(PathTracker.java:166)
   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:256)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:232)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:195)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMa rshal(AbstractReflectionConverter.java:141)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.mars hal(AbstractReflectionConverter.java:89)
   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)
   at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88)
   at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.wri teItem(AbstractCollectionConverter.java:64)
   at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:74)
   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:256)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:232)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:195)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMa rshal(AbstractReflectionConverter.java:141)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.mars hal(AbstractReflectionConverter.java:89)
   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:256)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:232)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:195)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMa rshal(AbstractReflectionConverter.java:141)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.mars hal(AbstractReflectionConverter.java:89)
   at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
[close]
« Last Edit: June 19, 2018, 10:33:52 PM by intrinsic_parity »
Logged

intrinsic_parity

  • Admiral
  • *****
  • Posts: 3071
    • View Profile
Re: Strange Save Game Issues
« Reply #1 on: June 25, 2018, 10:14:13 AM »

no replies  :'(
Logged

Midnight Kitsune

  • Admiral
  • *****
  • Posts: 2846
  • Your Friendly Forum Friend
    • View Profile
Re: Strange Save Game Issues
« Reply #2 on: June 25, 2018, 10:21:47 PM »

You encountered an out of memory error friend
Logged
Help out MesoTroniK, a modder in need

2021 is 2020 won
2022 is 2020 too

intrinsic_parity

  • Admiral
  • *****
  • Posts: 3071
    • View Profile
Re: Strange Save Game Issues
« Reply #3 on: June 25, 2018, 11:35:30 PM »

Yes but I had 6 gb of ram allocated so I'm not sure what else to do? I tried some obnoxious amount like 10 gb and it still happens. I checked and the application caps out at 3gb, is there something else that could be limiting memory usage?

edit: also, the first problem (outlined in the paste bin error log) is not an out of memory error
« Last Edit: June 25, 2018, 11:43:52 PM by intrinsic_parity »
Logged