So… I tried building a factory without an output of one car every 2 seconds (everything researched + all upgrades). For 2/3 of the build I had an almost constant 75 FPS, but I noticed 2 specific circumstances where FPS would drop massively.
One problem is when the factory runs out of power, that causes the FPS to drop to more than half, with noticeable lag pauses. It’s easily solved, just build more power stations, and the FPS goes back up to 75 FPS (after a short while).
Another problem is when there is a break in the supply chain. That instantly causes a massive FPS spike that cripples the game. I noticed that you optimized this for 1.07, but…
As I said, things kind of worked well for 2/3 of the build. But as I had built out the whole production line and I started ramping it up to 1 car/2 sec, as soon as half the line was filled with cars, the game just came to a halt. We are talking less than 1 FPS. Granted, I know that my factory is a bit extreme. but that’s the fun part
I built a big factory and everything works fine until i start the production. After I have around 50-100 cars rolling on the assembly line the game starts lagging badly. FPS starts dropping to zero for a second. More cars, zero FPS more often.
Doesn’t seem hardware related, because nothing(CPU, GPU, RAM, VRAM) is stressed over 50% at any times. Not even during the lags.
Running a X6 1075T@3,5GHz, GTX1050 and 8GB of RAM.
Thanks for the savegame. With this I have the same lags. Looks like the long distances between some stations may cause this.
The vehicles turn into status red while going around half of the facility but still move …
I have the game now for 6 days and love it.
Now i have a full purchase factory and everything bought.
So the factory make all parts by itself and then uses it tho build the cars.
Almost all space is used and it worked well.
But today i load the game again after i played with my son on his factory.
Now its lagging as hell.
It is in version 1.10.
made the same and worse experience.
At least I’ve had the fps drop even if I wanted to place a stockpile or slot. The last time I took a look at the taskmanager the game consumed > 66 % of the CPU and > 1400 MB RAM. One core ran at nearly 100% but as soon as the fps dropped the CPU usage also went down. This effect gets stronger with the time you play.
As soon an the RAM usage passes 1600 MB the program gets critical and any save (manuel and auto) will fail. The highest memory usage I have seen was 1643 MB just a moment before the autosave started. Even if loading a huge factory and keep the game running at normal speed the program will get out of memory some time.
It all ended into the error message ‘Failed to set Save file buffer:…\src\SIM_SaveGame.cpp 118’ but the autosave.xml was already been written so it contains nothing now -.-
Because of this 0 byte file the game will not load any savegame befor it is overwritten or deleted. So the last savegame is one I made 3 hours ago with a lot of changes to be done again. In such a situation it would be great if the autosave will not overwrite the last autosave file. Two files in alternated use would be more convenient in such a case.
[Edit] One additional note: As soon as the fps drops the simulation processes do not run synchronized. Production and manufacturing slots will remain at ‘Not sufficient Stock’ or ‘Wait for line’. So every interference will result in a lesser efficiency and is visible at the Efficiency graph.
So attached the log files, the last working savegame and the custom map for this savegame.