Spaceblock Memory Fix


Patch beacons to use less memory

9 months ago
1.1
653

g Memory Fix

9 months ago
(updated 9 months ago)

This mod is a very simple patch to how Space Block configures beacons. We love to play with Brave New Oarc, but it consumes too much memory. BNO enables multiple players to play from their own base and on separate teams. We've had 21 players on 18 teams. Everything is working without crashing. I submitted a defect to fix this, but with no response, I decided to patch the mod by redefining beacons that will use much less memory. Prior to this 3 players couldn't get any where near launching a missile and exceeded 11 GB of memory. With the above fix we have FOUR megabases and 20 players, with each of the 4 megabases launching, one launched over 1000 rockets. This took 3 GB of memory !

CPU issues we found were NOT Space Block but were a mini loader we also ran.

9 months ago
(updated 6 months ago)

New release 0.3.901 enables configurable modules - which enables you to choose the max productivity - defaulting now to 400 instead of 4. 400 enables a max productivity increase of 4000% after 400 levels of research, instead of the original 40%. You choose your max, 4-65535. The higher you go, the more you can increase productivity with research which increases memory consumption on your server.

To test this - start a game - the default setting for number of modules if 400. The previous version was 4.
Go into Module Settings and change this value to anything you want from 4..65535.

Test at 400:
Start game:
Put down assembler - hover over it.
as admin hit esc and type:
/sc for i=1,100,1 do game.player.force.research_all_technologies() end

This increases the number of technologies researched to 100 levels of research. Your productivity will be 1030.
Keep running this until you max and it stops changing. At a module number of 40 this will stop at 4000% after 400 research's.
Ok 397 research's.

New response