How does blueprint library size affect performance?

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
samwelter
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sun Feb 02, 2025 9:08 pm
Contact:

How does blueprint library size affect performance?

Post by samwelter »

My game is now giving me a warning that my blueprint library is 203MB. How does this affect performance from a technical level? Is it loaded into ram w/ my save, does it affect save size, is there big UPS gains to be had by drastically decreasing BP library size?
eugenekay
Filter Inserter
Filter Inserter
Posts: 506
Joined: Tue May 15, 2018 2:14 am
Contact:

Re: How does blueprint library size affect performance?

Post by eugenekay »

203MB is pretty big, but if it works then it works. You can move or rename the blueprint-storage.dat file to test it yourself.

If your Personal Blueprint Library is too big then Steam Sync will stop working. It will use RAM (and some CPU when interacting with the Library) while Factorio is running, but probably not as much as the Graphics for the game anyway…

Blueprints stored in the Game Blueprint Library increase the Savegame size. Blueprints in your Personal Library do not affect Savegames.
Tertius
Smart Inserter
Smart Inserter
Posts: 1285
Joined: Fri Mar 19, 2021 5:58 pm
Contact:

Re: How does blueprint library size affect performance?

Post by Tertius »

The game warning is about the size of the blueprint library in RAM while the game is running. It's not about the blueprint file on disk - that's just a few MB. It's uncompressed and vastly increased only if loaded by the game and held in RAM. I had a library with 22 MB on disk but occupying 800 MB in-memory according to the Factorio warning. This 22 MB is also no issue for Steam sync - your map saves have similar size and bigger.

If your PC has more RAM available than Factorio is consuming, you can disregard this warning. But if you have RAM shortage, tidying up your library would be a good idea. Load your current map into Factorio, then use Windows task manager to see how much RAM Factorio is using, and see how much RAM is still free. My current map makes Factorio use 3.6 GB RAM, and 19.9 GB is still available, so whatever Factorio says about memory usage, my PC has enough. As far as I see, this isn't consuming any CPU cycles, so your ups is unaffected.

If you look thoroughly, you will see the game will report RAM usage for every big blueprint book (> 100 MB as far as I remember) separately. This way you're able to see where your "big" blueprints are.
Post Reply

Return to “Technical Help”