3
« on: April 21, 2023, 01:26:51 AM »
Hello there,
For starters i have to say, thank you for making this amazing video game. As a long time player and fan of EV series and (probably all) similar games (in existence) this i consider the ultimate peak of the genre. All of my love to the modding community also, all of you guys are brilliant.
I however require some help (or some clarification) in regards to an issue which i constantly have.
I have been playing with mods for past year and constantly i get to a point in game where i can't continue the campaign becouse i can't save anymore. Game reports (in 90% of cases) "GC overhead limit exceeded" error and (in other 10%) "Java heap space" error. I have been gradually removing mods every playthrough while aplying all fixes found on the forums and internet however i allways reach that point. Game works fine otherwise.
This never happens in unmodded game so it's obvious the mods are causing it.
I have allocated 8gb of ram and switched to Java 8.
Java uses more than 10gb of ram when i can't save anymore.
Other than influencing battles, graphicslib shaders on or off doesn't seem to play a role in this issue at all. For me, they don't make any difference other than visually (in java 8, with old java fps drops in battles).
My PC specs are;
Nvidia GTX 1080 8gb
Ryzen 5 3600
32 gb Ram
game is run from NVME SSD.
Is there a solution to this i have missed?
Are there any mods that are known to cause this at some point (becouse of memory leak presumably)?
(Adjusted sector? - which i also configured so the map is a little (125%) bigger than vanilla.
Is there a number of mods with which this won't happen? I read everywhere people are playing with triple amount of mods that i use, do they also experience this issue?
Should i allocate 16 gb of ram to starsector? (from my experience with this issue i think this will prolong the time until it becomes unsaveable but not solve it). There is also the statement that 8gb is enough for arbitrary amount of mods.
Is there possibly a way to reset or "clear" java heap or garbage collector since they become so big at some point?
I can sometimes save at this point if i go to a small 1 planet system and then spend 30 minutes - 1 hour of time spamming save until it does save however im not keen on continuing to do this and it also is only prolonging the inevitable.
Thanks in advance for reading this wall of text.
Cheers,
Slaven
P.s. my knowledge of java code is unfortunately non-existent however i probably can understand basic stuff since i (partly) build pc-s for a living (in otherwords; not a total hardware and software dummy). The most i've done is edit stuff in mods by observing what is written in other mods.