Since 0.13.6 I've noticed that the application hangs for a fraction of a second once about every 3 seconds. I originally noticed it when I was walking around after loading a save, but it occurs everywhere, including in the menu, and even in Windows itself when I temporarily alt-tab out of Factorio. The issue remains when restarting Factorio. When Factorio is not running the issue does not occur. Processor statistics in the Task Manager are averages so I can't really tell, but it would seem Factorio draws 100% CPU power for a while every 3 seconds. I have attached a log although it doesn't seem to show anything of interest. The issue did not occur in 0.13.5 or earlier.
Log
0.002 2016-07-07 00:30:33; Factorio 0.13.6 (build 23136, win64, steam)
0.002 Operating system: Windows 7 Service Pack 1
0.002 Program arguments: "D:\Games\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe"
0.002 Read data path: D:/Games/Steam/steamapps/common/Factorio/data
0.002 Write data path: C:/Users/Administrator/AppData/Roaming/Factorio
0.002 Binaries path: D:/Games/Steam/steamapps/common/Factorio/bin
0.064 Graphics options: [FullScreen: true] [VSync: true] [UIScale: 100%] [MultiSampling: OFF] [Graphics quality: normal] [Video memory usage: all] [Light scale: 20%] [Screen: 1] [DXT: false]
0.065 Available display adapters: 2
0.065 [0]: \\.\DISPLAY1 - NVIDIA GeForce GTS 450 {0x01, [1680,0], 1050x1680, 32bit, 60Hz}
0.065 [1]: \\.\DISPLAY2 - NVIDIA GeForce GTS 450 {0x05, [0,0], 1680x1050, 32bit, 60Hz}
0.065 Create display on adapter 1. Size 1280x720 at position [190, 147].
0.245 Initialised Direct3D:[0] NVIDIA GeForce GTS 450; driver: nvd3dumx.dll 10.18.13.6822
0.252 Video memory size (dedicated video/dedicated system/shared system/available): 979/0/1791/2764 MB
0.340 Desktop composition is active.
0.514 Loading mod core 0.0.0 (data.lua)
0.588 Loading mod base 0.13.6 (data.lua)
2.651 Checksum for core: 714099156
2.651 Checksum for mod base: 1855085279
3.633 Initial atlas bitmap size is 16384
3.641 Created atlas bitmap 16384x9336
5.510 Created atlas bitmap 4096x968
16.699 Sprites loaded
16.699 Convert atlas 4096x968 to: trilinear-filtering
17.859 Loading sounds...
20.326 Custom inputs active: 0
20.395 Factorio initialised
28.606 Loading map C:/Users\Administrator\AppData\Roaming\Factorio\saves\Thirteen.zip
28.638 Info Scenario.cpp:127: Map version 0.13.5-8
30.353 Checksum for script C:/Users/Administrator/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 900459546
55.276 Info Scenario.cpp:127: Map version 0.13.6-0
55.412 Checksum for script C:/Users/Administrator/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 900459546
343.870 Steam API shutdown.
343.873 Goodbye
Re: [0.13.6] Factorio hangs every 3 seconds
Posted: Wed Jul 06, 2016 10:54 pm
by Kirk
I did some more testing, and it turns out than after a reboot the issue disappeared. So phew, but apologies for the bug report. It was the one thing I forgot to test. I hadn't expected it as I had just booted to begin with XD
Re: [0.13.6] Factorio hangs every 3 seconds
Posted: Wed Jul 06, 2016 10:56 pm
by Loewchen
If it happens again please upload a screenshot with time_used_percent and show_fps activated in the debug menu (F4 > F5) and post your hardware specs.
Re: [0.13.6] Factorio hangs every 3 seconds
Posted: Wed Jul 06, 2016 11:05 pm
by Supercheese
This used to happen to me as well, and I solved the issue by lowering the "VRAM Usage" setting. It should be under Options > Graphics > Video Memory Usage or some such. Lowering it by one or two steps should alleviate the issue.