[0.8.0] The game freezes for 0.5 sec

This subforum contains all the issues which we already resolved.
DRBLN
Filter Inserter
Filter Inserter
Posts: 411
Joined: Sat Mar 23, 2013 12:44 pm
Contact:

[0.8.0] The game freezes for 0.5 sec

Post by DRBLN »

The game is lagging after the upddate.
Every 7 seconds it freees for 0.5 seconds.

Please, fix.
Gammro
Filter Inserter
Filter Inserter
Posts: 361
Joined: Wed Oct 09, 2013 1:45 pm
Contact:

Re: [0.8.0] The game freezes for 0.5 sec

Post 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?
Ignore this
DRBLN
Filter Inserter
Filter Inserter
Posts: 411
Joined: Sat Mar 23, 2013 12:44 pm
Contact:

Re: [0.8.0] The game freezes for 0.5 sec

Post by DRBLN »

1) It happens all the rime
2) I started a new game
3) CPU usage is ~ 20%
4) Intel Core 2Quad Q9400
User avatar
Dysoch
Filter Inserter
Filter Inserter
Posts: 445
Joined: Fri Oct 18, 2013 2:27 pm
Contact:

Re: [0.8.0] The game freezes for 0.5 sec

Post 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)
Creator of:
- DyTech
- DyWorld
- DyWorld-Dynamics
- DyWorld-Dynamics 2
Active since Factorio 0.6
DRBLN
Filter Inserter
Filter Inserter
Posts: 411
Joined: Sat Mar 23, 2013 12:44 pm
Contact:

Re: [0.8.0] The game freezes for 0.5 sec

Post 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?
User avatar
Dysoch
Filter Inserter
Filter Inserter
Posts: 445
Joined: Fri Oct 18, 2013 2:27 pm
Contact:

Re: [0.8.0] The game freezes for 0.5 sec

Post 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
Creator of:
- DyTech
- DyWorld
- DyWorld-Dynamics
- DyWorld-Dynamics 2
Active since Factorio 0.6
DRBLN
Filter Inserter
Filter Inserter
Posts: 411
Joined: Sat Mar 23, 2013 12:44 pm
Contact:

Re: [0.8.0] The game freezes for 0.5 sec

Post 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)
kovarex
Factorio Staff
Factorio Staff
Posts: 8298
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.8.0] The game freezes for 0.5 sec

Post 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?
DRBLN
Filter Inserter
Filter Inserter
Posts: 411
Joined: Sat Mar 23, 2013 12:44 pm
Contact:

Re: [0.8.0] The game freezes for 0.5 sec

Post 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
kovarex
Factorio Staff
Factorio Staff
Posts: 8298
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.8.0] The game freezes for 0.5 sec

Post 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?
User avatar
Dysoch
Filter Inserter
Filter Inserter
Posts: 445
Joined: Fri Oct 18, 2013 2:27 pm
Contact:

Re: [0.8.0] The game freezes for 0.5 sec

Post 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.
Creator of:
- DyTech
- DyWorld
- DyWorld-Dynamics
- DyWorld-Dynamics 2
Active since Factorio 0.6
Outershift
Burner Inserter
Burner Inserter
Posts: 7
Joined: Thu Dec 12, 2013 10:41 am
Contact:

Re: [0.8.0] The game freezes for 0.5 sec

Post 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
DRBLN
Filter Inserter
Filter Inserter
Posts: 411
Joined: Sat Mar 23, 2013 12:44 pm
Contact:

Re: [0.8.0] The game freezes for 0.5 sec

Post 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.
kovarex
Factorio Staff
Factorio Staff
Posts: 8298
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.8.0] The game freezes for 0.5 sec

Post 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?
DRBLN
Filter Inserter
Filter Inserter
Posts: 411
Joined: Sat Mar 23, 2013 12:44 pm
Contact:

Re: [0.8.0] The game freezes for 0.5 sec

Post 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.
kovarex
Factorio Staff
Factorio Staff
Posts: 8298
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.8.0] The game freezes for 0.5 sec

Post by kovarex »

DRBLN:
Just to make sure, could you download and install 0.7.5 and confirm, that it works correctly?
DRBLN
Filter Inserter
Filter Inserter
Posts: 411
Joined: Sat Mar 23, 2013 12:44 pm
Contact:

Re: [0.8.0] The game freezes for 0.5 sec

Post by DRBLN »

The bug was fixed in 0.8.2
kovarex
Factorio Staff
Factorio Staff
Posts: 8298
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.8.0] The game freezes for 0.5 sec

Post 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.
DRBLN
Filter Inserter
Filter Inserter
Posts: 411
Joined: Sat Mar 23, 2013 12:44 pm
Contact:

Re: [0.8.0] The game freezes for 0.5 sec

Post 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).
User avatar
Dysoch
Filter Inserter
Filter Inserter
Posts: 445
Joined: Fri Oct 18, 2013 2:27 pm
Contact:

Re: [0.8.0] The game freezes for 0.5 sec

Post 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.
Creator of:
- DyTech
- DyWorld
- DyWorld-Dynamics
- DyWorld-Dynamics 2
Active since Factorio 0.6
Post Reply

Return to “Resolved Problems and Bugs”