Avorion

Avorion

Borg Conquest and Assimilation
Travis Apr 4, 2023 @ 12:50pm
Borg Salvaging lag
I've noticed a problem in v2.3.1. in which salvaging can cause massive lag, particularly when there are many salvaging lasers (whether turrets or fighters) salvaging at the same time. I do not know if this is limited to only the Borg lasers (whether salvagers or cutting beams), or all salvaging lasers, but it does not seem to be a general problem with vanilla Avorion, since I can't find any other reports of this problem, so I have to assume it's specific to Borg beams only.

Whenever I have many Borg salvaging beams trying to salvage at the same time, the game starts to experience immense lag, and I've also noticed the system memory usage begins to climb. This happens even if the player is in a different sector from where the salvaging is taking place, but not if the ships are on a salvaging expedition. Only direct salvaging causes the problem. I should also note that it does not only happen when salvaging wrecks, it also happens if you use the Borg beams as weapons against "living" ships too.

It can eventually reach a point where the game becomes unplayable, and may even result in an "out of memory" error which will crash the game. If you can manage to save & exit the game before it reaches the out-of-memory crash, and then wait even longer for the avorionserver.exe process to gracefully close as well, returning to your saved game can temporarily alleviate the problem, though only briefly unless your ships can manage to finish salvaging before the memory lag gets too big again.