Fractal Softworks Forum

Starsector => Bug Reports & Support => Bug Reports & Support (modded) => Topic started by: Kokumi on November 12, 2019, 01:22:40 PM

Title: Bug during save
Post by: Kokumi on November 12, 2019, 01:22:40 PM
Since some week, when i save the campaign. The game just crash.
It not appear at every save. Lately I discover it's link to some solar system added by mod, however when i disable that mod it continue...


There is the end of the log:

4517236 [Thread-8] INFO  sound.oo0O  - Cleaning up music with id [SkeletonCrew.ogg]
4517444 [Thread-10] INFO  sound.oo0O  - Creating streaming player for music with id [faction_tritach_market_03_friendly.ogg]
4517444 [Thread-10] INFO  sound.null  - Playing music with id [faction_tritach_market_03_friendly.ogg]
5080541 [Thread-4] INFO  org.histidine.chatter.combat.ChatterCombatPlugin  - Chatter plugin initialized
5081982 [Thread-8] INFO  sound.oo0O  - Cleaning up music with id [faction_tritach_market_03_friendly.ogg]
5082446 [Thread-10] INFO  sound.oo0O  - Creating streaming player for music with id [Condottiere.ogg]
5082447 [Thread-10] INFO  sound.null  - Playing music with id [Condottiere.ogg]
5122035 [Thread-8] INFO  sound.oo0O  - Cleaning up music with id [Condottiere.ogg]
5122483 [Thread-10] INFO  sound.oo0O  - Creating streaming player for music with id [faction_tritach_market_03_friendly.ogg]
5122484 [Thread-10] INFO  sound.null  - Playing music with id [faction_tritach_market_03_friendly.ogg]
5125381 [Thread-4] INFO  com.fs.starfarer.api.impl.campaign.intel.SurveyPlanetMissionIntel  - Created SurveyPlanetMissionIntel: Anu, faction: independent
5126377 [Thread-8] INFO  sound.oo0O  - Cleaning up music with id [faction_tritach_market_03_friendly.ogg]
5126487 [Thread-10] INFO  sound.null  - Playing music with id [expanse.ogg]
5129262 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving to ..\\saves/save_FrostWinter_8191706787818824090...
5129262 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving stage 1
5129263 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving stage 2
5129263 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving stage 3
5130008 [Thread-15] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving progress: 0.0


There is the list of mod:

"ApproLight",
  "raccoonarms",
  "blackrock_driveyards",
  "Celestial Mount Circle",
  "chatter",
  "DisassembleReassemble",
  "foundation",
  "gflportraitpack",
  "GMDA",
  "hiigaran_descendants",
  "lw_lazylib",
  "ArkLeg",
  "MagicLib",
  "Mayasuran Navy",
  "dk_mis_09",
  "missingships",
  "ORA",
  "swp",
  "bonomel_skilledup",
  "Sylphon_RnD",
  "tahlan",
  "US",
  "vayrasector",
  "vayrashippack",
  "lw_version_checker",
  "audio_plus",
  "shaderLib"


This bug is bugging me and it's fustrated to get rip all avancement...

Also i'm not english native so sorry for bad language.
Title: Re: Bug during save
Post by: Innominandum on November 12, 2019, 02:14:45 PM
Have you increased starsectors memory allocation parameters in the vmparams file?
If not, go to your starsector folder and open up vmparams with notepad++ and set -Xms and -Xmx so that the -Xmx value is around half of your RAM: 8GB -Xmx4000m or -Xmx4g, 6GB -Xmx3000m or -Xmx3g
as for Xms looking at your modlist it should be at least around 2.2Gb so -Xms2200m up to -Xms3000m or -Xms3g
 
Title: Re: Bug during save
Post by: Nick XR on November 12, 2019, 04:35:21 PM
...however when i disable that mod it continue...

Most mods are not safe to disable once you've started a game with them, check to see if this particular mod can be disabled or not safely.
Title: Re: Bug during save
Post by: Kokumi on November 13, 2019, 12:38:04 AM
Have you increased starsectors memory allocation parameters in the vmparams file?

Already did. i just see he doesn't solve... however a did know the exact number "2200" I will try that

Most mods are not safe to disable once you've started a game with them, check to see if this particular mod can be disabled or not safely.

When i try to load after disable mod. It refuse because "there something missing".
So I just make new game...
Title: Re: Bug during save
Post by: Innominandum on November 13, 2019, 12:58:42 AM
Have you increased starsectors memory allocation parameters in the vmparams file?

Already did. i just see he doesn't solve... however a did know the exact number "2200" I will try that

Most mods are not safe to disable once you've started a game with them, check to see if this particular mod can be disabled or not safely.

When i try to load after disable mod. It refuse because "there something missing".
So I just make new game...
The exact number is not important, can you give me your specs? CPU RAM GPU, memory allocation while no Progs are running taken from task manager?
Title: Re: Bug during save
Post by: Kokumi on November 13, 2019, 02:08:03 AM
Already did. i just see he doesn't solve... however a did know the exact number "2200" I will try that

Ive tried and it crash again...


The exact number is not important, can you give me your specs? CPU RAM GPU, memory allocation while no Progs are running taken from task manager?

CPU = Intel core i5-3350p -3.10Ghz
RAM = 8Go
GPU = Nbidia Geforce GTX 660

For memory allocation I don't understand how I have it.
Title: Re: Bug during save
Post by: Innominandum on November 13, 2019, 02:30:08 AM
Already did. i just see he doesn't solve... however a did know the exact number "2200" I will try that

Ive tried and it crash again...


The exact number is not important, can you give me your specs? CPU RAM GPU, memory allocation while no Progs are running taken from task manager?

CPU = Intel core i5-3350p -3.10Ghz
RAM = 8Go
GPU = Nbidia Geforce GTX 660

For memory allocation I don't understand how I have it.
strange ... https://mega.nz/#!cW4GzYLT!iTWthqwXF22upn6zekaAf3zQfsh2L0Zz0q90-3h1tLk vmparams and graphicslib options, replace them with yours and run in admin mode.
Also keep task manager open, set update speed to slow in View and give me a screenshot before you open the game, one after you start a new game and one immediately after the crash if it happens again. https://www.computerhope.com/issues/ch002001.htm   
Title: Re: Bug during save
Post by: Kokumi on November 13, 2019, 02:55:04 AM
give me a screenshot

How I post screenshot here?
Title: Re: Bug during save
Post by: Innominandum on November 13, 2019, 02:59:28 AM
give me a screenshot

How I post screenshot here?
upload to https://imgbb.com/ get link BBcode and post it here
Title: Re: Bug during save
Post by: Kokumi on November 13, 2019, 03:30:17 AM
thanks
Until i don't get the bug (since you ask screenshot)
so that the 2 first

Before Starsector
https://ibb.co/zXzhWxD

At new game
https://ibb.co/KqYSdMZ
Title: Re: Bug during save
Post by: Innominandum on November 13, 2019, 03:37:52 AM
thanks
Until i don't get the bug (since you ask screenshot)
so that the 2 first

Before Starsector
https://ibb.co/zXzhWxD

At new game
https://ibb.co/KqYSdMZ
Look for comparison this is my usage before i start starsector
(https://i.ibb.co/18HYT8y/New-Bitmap-Image.jpg)
Task manager details sort by memory, give me a screenshot
Title: Re: Bug during save
Post by: Kokumi on November 13, 2019, 04:23:47 AM
that?

https://ibb.co/XsVcrjL
Title: Re: Bug during save
Post by: Innominandum on November 13, 2019, 05:37:25 AM
il me semble que vous n’avez tout simplement pas assez de RAM libre aux dernières étapes du jeu. Vous devriez rechercher des moyens de libérer votre mémoire ou de supprimer certains mods.
(https://i.ibb.co/xD9T1t0/New-Bitmap-Image.jpg)
Vous devez disposer d'au moins 10% de RAM libre pour enregistrer les progrès de manière fiable. Plus vous jouez longtemps et plus votre session dure longtemps, plus de RAM sera allouée au jeu, prenez cela en considération.
Vous pouvez également utiliser cet outil https://www.henrypp.org/product/memreduct avant de commencer le jeu, cela libère de la mémoire, mais tout le reste sauf la lenteur ou vous pouvez simplement acheter plus de bélier.

Title: Re: Bug during save
Post by: Kokumi on November 13, 2019, 05:49:30 AM
ok thanks

Comment vous avez deviné que je suis français?
Title: Re: Bug during save
Post by: Innominandum on November 13, 2019, 05:58:38 AM
ok thanks

Comment vous avez deviné que je suis français?
De rien, les images.
Title: Re: Bug during save
Post by: Kokumi on November 13, 2019, 06:27:36 AM
i'm just asking... yes i continued in english in case this thread is read by someone.

Who are the mod who take the more Ram.
and if regular save can solve the problem
Title: Re: Bug during save
Post by: Innominandum on November 13, 2019, 06:41:02 AM
i'm just asking... yes i continued in english in case this thread is read by someone.

Who are the mod who take the more Ram.
and if regular save can solve the problem
Those who add the most things like ORA and Blackrock they together should be over 1.5 Gig late in the game.
Regular saves can't, learning how to manage your memory(having nothing else except starsector running) and regulary Saving and quitting the game(restarts) should do the trick.   
Title: Re: Bug during save
Post by: Kokumi on November 13, 2019, 07:41:07 AM
Ok thanks again