In my last game I hit a brick wall.
At a certain point I was no longer able to save the game. That in itself caused no hard crash but simply aborted saving. Well, no problem, right? Just complete the game...
Problem. When the game "completes" it tries to create an "End Game" save. That was no longer possible in my game and at that point the game did crash hard. So whatever I did, I was not possible to complete the game and get a nice score to look at.
Not used to taking no for an answer I experimented. Literally for days. Just to complete that one stupid game. And I found a workaround.
The action that lead to this "no saving" condition was upgrading one ship design (1600 ships) to another in the shipyard interface. I upgraded those ships to almost identical ships with an equal or lesser number of modules. So in theory the memory load should have been equal or lower afterwards.
This looked and felt like a memory leak because even long after the upgrading operation was completed, the game was still "out of memory".
The workaround I found:
When I manually upgraded 600some ships to the next ship design and then bulk-upgraded the remaining 1000 ships the next turn, it worked.
That way the game retained the ability to save with going out-of-memory. As a result, I was able to complete the game.
So something is fishy with bulk-upgrading ship designs. Somewhere, somehow, the memory is not released after the operation.