It doesn\'t matter how much memory you give it though;
The game keeps spawning and tracking AI ships, even where you don\'t see them. Over time, there\'ll be enough to cause a slowdown, and make that message pop up on any system.
To make it worse, if by accident or purpose, the traders and pirates have access to bigger ships than the basic isanth, it\'ll take far less of them to break your game.
For example; I was super careful, and made sure npcs can\'t spawn any of my blueprints, only the isanth. After a week of playing in that same universe, my game started slowing down, badly.
Temporary fix;
I opened up the server_database folder in SM\'s install directory, and manually deleted several hundred AI ships, both from there and one folder deeper in \"DATA\". It\'s an incredible waste of computing power; for all those hundreds of ships, I\'m sure I haven\'t met more than 20 traders, and always made sure to find and completely destroy any and all pirates.
You don\'t need to worry about accidentally deleting your own ships by the way; Any AI ship\'s name starts with \"ai_ship\" + blueprint name + ID number. They\'re easily recognisable.
Lo and behold, on the next startup the game booted swiftly and there was no lag.
So I decided to disable pirates and traders completely. I\'ll turn them on if I want to go hunting, then delete the database again, because far more will spawn than you\'ll see.
But it wasn\'t over yet. Some time later I accidentally left one of my partially done backup-blueprints available for traders. It\'s a hollow hull of a 600 blocks long battleship. I have played perhaps for half an hour when the game became unplayable and the message about memory popped up. I shut down the game, checked the database, and there was SIX ai ships with it\'s name. That was enough to kill the game, even though they weren\'t even in radar distance.
And that is our mysterious slowdown over time bug.
The game must be made to;
-Stop spawning AI ships where nobody sees them.
-Delete those that were seen but flew far enough away from players.
-Only be able to spawn one or two of the larger blueprints, instead of the usual fleet of 4-8.
-Disable AI spawning by deafult over a certain blueprint mass.