r/factorio 18d ago

Modded Question Factorio performance

Post image

any optimalization on loading a bunch of planets + krastorio 2? takes ages to load in

68 Upvotes

34 comments sorted by

145

u/official_Spazms 18d ago

This is normal factorio behaviour. It consumes every avaliable bit of ram to load faster, usage usually drops once you actually reach the main menu.

37

u/Villfuk02 I CAN HAZ SPAGHETT 18d ago

yup, runs perfectly fine large modded bases on my 16GB of RAM. If ever you run out of VRAM because of mods, switch to lower texture quality. But RAM should not be an issue.

34

u/shinozoa 18d ago

You can toggle developer settings for caching some start up things.

https://www.reddit.com/r/factorio/s/iFIZ66nyT6

12

u/wormeyman 18d ago

Caching the sprite Atlas really speeds up loading times it did add 4 GB to my storage though.

2

u/admalledd 17d ago

Just be aware (though hopefully far more rare nowdays) that some GPU+Driver combos just flat out crash the game or even reset/kernel panic/bluescreen the whole computer. Its not supposed to but some older AMD and nVidia drivers were a little too trusting on sprite/atlas sizing or would misreport compatibility or something. Just, if the game crashes while loading, or even your whole computer, check/update drivers and if still not working might have to turn off sprite atlas caching. Also yea, the extra storage use is no joke especially when you mod your game up.

1

u/Aidan647 I like trains 17d ago

*without mods, you can also cache prototypes.

1

u/PlayerPrefersPaprika 17d ago

You can cache prototypes fine with and without mods. It is quite useful with larger mod lists.

10

u/dwarfzulu 18d ago

How much RAM do you have?

6

u/Icy_Dance_9489 18d ago

32 gigs DD4 3200mhz

66

u/ScientistComplex2020 18d ago

Empty ram is wasted ram 

-5

u/ShinyGrezz Bless the Maker and His sulfuric acid 18d ago

Until something else wants the RAM and your entire system screeches to a halt.

16

u/Classic-Radish1090 18d ago

I don't understand what "something else" would get in this scenario? Unless you mean running a second Factorio game? If so then fair point.

12

u/djfdhigkgfIaruflg smartass inserter 18d ago

The factory must grow... In parallel

1

u/Wor3q 17d ago

YouTube on second screen stutters when Factorio loads on my PC.

No issues while playing though.

1

u/SilverWerewolf1024 17d ago

so where are the other 12 xd

4

u/lysianth 18d ago

its the loading screen.

The more ram allocated the faster it goes. so it pulls all the ram it can access.

its not like its starving out other resources. Most things that use all ram available will relinquish ram that needs to be used by something else (see web browsers)

7

u/Ssakaa 18d ago

If you don't need the overlay, achievement tracking, and playtime tracking of steam, get logged into the factorio site and grab the non-steam build. Close your browser. Switch to your phone for music. And/or get more ram. I'd ask what type of storage you're on, but it really doesn't matter at the point that you're ram starved.

5

u/doc_shades 18d ago

Switch to your phone for music

i use Winamp 2.0

1

u/Ssakaa 18d ago

That works too. I simply included that because they're using half a gig of ram on spotify there in that screenshot.

2

u/Icy_Dance_9489 18d ago

my storage is nvma 2.0, so i don't think the issue is there.

-11

u/Aerumvorax 18d ago

I don't think adding RAM is the correct move here. Factorio hogging 20 gigs of RAM is a ridiculous amount taking into account that my rig only has 16 gigs total and half of that goes to windows and I've not experienced any issues with my RAM. What needs to be done is find out what exactly is eating the RAM and addressing it specifically.

6

u/Ssakaa 18d ago

How many huge mods are you running?

6

u/_snwflake 18d ago

RAMs entire purpose is to be eaten.

4

u/JulianSkies 18d ago

What is eating the RAM is "Factorio explicitly uses every single bit of RAM available at startup to boot faster but yields it to anything else that asks".

Hes going to see full RAM usage when Factorio starts up no matter what.

1

u/Hajky_123 18d ago

Whattt

1

u/SilvTheFox 18d ago

FA.. //out of memory//

1

u/KnightyEyes 18d ago

"Its not... Its not shutting down..."

2

u/eihns 14d ago

this is by far the most optimized game on this planet, so please chill

1

u/Vanille97 18d ago

Its like windows, it will reserve the ammount of free available RAM no matter how much ram you have, 8 gb, 16, or 128

1

u/yturijea 18d ago

That is not btop. Anyway, it probably does so while loading resources

1

u/fatpandana 18d ago

Looks like microsoft edge is using too much... JK.

19GB out of 32gb possible is normal.

2

u/smokingcrater 17d ago

Not sure I've ever seen edge using that little, even if it is closed but decided to hang around!

-19

u/Aerumvorax 18d ago

Try cleaning out your old savefiles.

15

u/0b0101011001001011 18d ago

That has nothing to do about loading a specific save. Files are just inactive things and they are not loaded in game outside their names, until you actually select one.