Page 1 of 1

[0.8.0] The game freezes for 0.5 sec

Posted: Wed Dec 11, 2013 10:46 am
by DRBLN
The game is lagging after the upddate.
Every 7 seconds it freees for 0.5 seconds.

Please, fix.

Re: [0.8.0] The game freezes for 0.5 sec

Posted: Wed Dec 11, 2013 10:53 am
by Gammro
Please give some more details. If you can.

Does it happen all the time, or are there periods of lag?
Does it happen with old savegames?
Does it happen with new games?
Have you checked if your is CPU giving everything it can and not keep up?
What CPU do you have?

Re: [0.8.0] The game freezes for 0.5 sec

Posted: Wed Dec 11, 2013 11:07 am
by DRBLN
1) It happens all the rime
2) I started a new game
3) CPU usage is ~ 20%
4) Intel Core 2Quad Q9400

Re: [0.8.0] The game freezes for 0.5 sec

Posted: Wed Dec 11, 2013 11:11 am
by Dysoch
DRBLN wrote:1) It happens all the rime
2) I started a new game
3) CPU usage is ~ 20%
4) Intel Core 2Quad Q9400
do you use mods?
what have you placed of the mods? (my collectors and rubber trees are quite lagging when placed in large numbers)

because most likly, its my rubber trees (i noticed that even i get a tiny lag, but only when placing around 100 trees)

Re: [0.8.0] The game freezes for 0.5 sec

Posted: Wed Dec 11, 2013 11:14 am
by DRBLN
I have just disabled all the mods.
The game is still lagging.

BTW the game uses about 1.5 GB of RAM. Is that OK?

Re: [0.8.0] The game freezes for 0.5 sec

Posted: Wed Dec 11, 2013 11:19 am
by Dysoch
DRBLN wrote:I have just disabled all the mods.
The game is still lagging.

BTW the game uses about 1.5 GB of RAM. Is that OK?
Depends, how big is your world, how many radars, how many biters?

You could try this:
Open up console (~) and type:

Code: Select all

game.reloadscripts()
This has solved some issues for me in the past

Re: [0.8.0] The game freezes for 0.5 sec

Posted: Wed Dec 11, 2013 11:20 am
by DRBLN
Dysoch wrote:
DRBLN wrote:I have just disabled all the mods.
The game is still lagging.

BTW the game uses about 1.5 GB of RAM. Is that OK?
Depends, how big is your world, how many radars, how many biters?

You could try this:
Open up console (~) and type:

Code: Select all

game.reloadscripts()
This has solved some issues for me in the past
I have just started a new game :).
The command

Code: Select all

game.reloadscripts()
results in an error (cannot execute the command)

Re: [0.8.0] The game freezes for 0.5 sec

Posted: Wed Dec 11, 2013 3:28 pm
by kovarex
This looks strange.
So you are saying it wasn't before 0.8, and it appears on new game (right after start) and you have no mods?
When you press F5 and look at the time statistics does it give any hints?

Re: [0.8.0] The game freezes for 0.5 sec

Posted: Wed Dec 11, 2013 3:50 pm
by DRBLN
kovarex wrote:This looks strange.
So you are saying it wasn't before 0.8, and it appears on new game (right after start) and you have no mods?
When you press F5 and look at the time statistics does it give any hints?
1) I reinstlalled the game & deleted all the mods.
2) I started the new game.

And it lags :(

Before the update to 0.8 I had no lags.

Image
FRS ~ 60

Re: [0.8.0] The game freezes for 0.5 sec

Posted: Wed Dec 11, 2013 4:01 pm
by kovarex
This is just a guess, but could you try to disable the clouds? (Graphical options).
Also you can see count of chunks(entities) in the top left, doesn't go up?

Re: [0.8.0] The game freezes for 0.5 sec

Posted: Thu Dec 12, 2013 12:30 am
by Dysoch
DRBLN wrote:
Dysoch wrote:
DRBLN wrote:I have just disabled all the mods.
The game is still lagging.

BTW the game uses about 1.5 GB of RAM. Is that OK?
Depends, how big is your world, how many radars, how many biters?

You could try this:
Open up console (~) and type:

Code: Select all

game.reloadscripts()
This has solved some issues for me in the past
I have just started a new game :).
The command

Code: Select all

game.reloadscripts()
results in an error (cannot execute the command)
my bad, typed to fast and made a mistake. try this:

Code: Select all

game.reloadscript()
this will work.

Re: [0.8.0] The game freezes for 0.5 sec

Posted: Sun Dec 15, 2013 4:30 pm
by Outershift
I am having the same problem,from what i have observed when using mods in .8.0 the memory leak spikes (From Version 7.5, .8 Gig Ram to Version 8.0 3 Gig of ram) maybe its with the mods or coding with .8.0 i dont know but a quick fix is that delete all factorio files and folders and reinstall 8.0 clean and without mods, dont install any mods!!!! i know it sucks but its better than not playing

Re: [0.8.0] The game freezes for 0.5 sec

Posted: Mon Dec 16, 2013 1:50 pm
by DRBLN
I reinstalled Windows, but the game is still lagging.

BTW I've noticed one more thing: during that freeze resources blink as well.

Re: [0.8.0] The game freezes for 0.5 sec

Posted: Mon Dec 16, 2013 6:20 pm
by kovarex
DRBLN wrote:I reinstalled Windows, but the game is still lagging.
Could you please post other hardware specifications?
Mainly RAM+video card (video memory)
BTW I've noticed one more thing: during that freeze resources blink as well.
You mean resources on the map, like coal and iron are blinking?

Re: [0.8.0] The game freezes for 0.5 sec

Posted: Wed Dec 18, 2013 6:21 pm
by DRBLN
My system:
Image
Intel Core 2 Quad Q9400
RAM = 4GB
Nvidia GTX 260

I mean the resources on the map are blinking (coal, copper / iron ore).
Furthermore, I've noticed, that the animation of mining drills is bugged.

It looks like, the bugs are caused by the update of Video Card driver.

The update to 0.8.1 didn't resolve the issue.

Re: [0.8.0] The game freezes for 0.5 sec

Posted: Thu Dec 19, 2013 1:14 pm
by kovarex
DRBLN:
Just to make sure, could you download and install 0.7.5 and confirm, that it works correctly?

Re: [0.8.0] The game freezes for 0.5 sec

Posted: Fri Dec 20, 2013 5:08 pm
by DRBLN
The bug was fixed in 0.8.2

Re: [0.8.0] The game freezes for 0.5 sec

Posted: Sat Dec 21, 2013 8:07 am
by kovarex
DRBLN wrote:The bug was fixed in 0.8.2
I'm happy it was fixed for you, but I have no idea what could cause it to be honest.

Re: [0.8.0] The game freezes for 0.5 sec

Posted: Sat Dec 21, 2013 8:09 am
by DRBLN
Maybe the following thing fixed that bug:
Fixed infinite loop when looking for enemy expansion (causing 100% cpu load and eating all RAM).

Re: [0.8.0] The game freezes for 0.5 sec

Posted: Sat Dec 21, 2013 8:37 am
by Dysoch
DRBLN wrote:Maybe the following thing fixed that bug:
Fixed infinite loop when looking for enemy expansion (causing 100% cpu load and eating all RAM).
to my knowledge that would not cause a 0.5 sec lag every few seconds. that will just freeze the game entirely.