Memory leak when left a long time.
Memory leak when left a long time.
There seems to be a memory leak when the game is left for a long time.
I started Factorio, loaded a save game, played for about 5 mins, quit to main menu, and left my PC for about 2 hours. Came back and Factoria was using 12GB RAM. Happened twice.
I started Factorio, loaded a save game, played for about 5 mins, quit to main menu, and left my PC for about 2 hours. Came back and Factoria was using 12GB RAM. Happened twice.
Last edited by Petah on Fri May 06, 2016 8:12 pm, edited 2 times in total.
Re: Memory leak on title screen
Can you please update to 0.12.30 and see if the issue persists?
If you want to get ahold of me I'm almost always on Discord.
Re: Memory leak on title screen
Its installed through Steam, should it not update automatically?
Re: Memory leak on title screen
You have to manually opt in the beta (in the beta tab in factorio properties).Petah wrote:Its installed through Steam, should it not update automatically?
Re: Memory leak on title screen
Have you enabled experimental updates in Steam ?
Koub - Please consider English is not my native language.
Re: Memory leak on title screen
I don't really want to "enable experimental updates in Steam".
Is 0.12.30 going to be released as stable?
This bug seems to happen every time which causes all my other open programs to also crash. Quite annoying.
Is 0.12.30 going to be released as stable?
This bug seems to happen every time which causes all my other open programs to also crash. Quite annoying.
Re: Memory leak on title screen
When 0.12.30 is released as stable it will be the literal same executable file that's available now as experimental. There's no reason not to test it - you can downgrade again after If you decide you don't want to use it.Petah wrote:I don't really want to "enable experimental updates in Steam".
Is 0.12.30 going to be released as stable?
This bug seems to happen every time which causes all my other open programs to also crash. Quite annoying.
If you want to get ahold of me I'm almost always on Discord.
Re: Memory leak on title screen
Ok, tried 0.12.30, happened again. Didn't get a screen shot this time though as it crashed out.
Same process, load a game, played for 5 minutes, quit to title screen, left it open when I went to bed.
Same process, load a game, played for 5 minutes, quit to title screen, left it open when I went to bed.
Re: Memory leak on title screen
Do you have the log file?Petah wrote:Ok, tried 0.12.30, happened again. Didn't get a screen shot this time though as it crashed out.
Re: Memory leak on title screen
Attached
- Attachments
-
- factorio-previous.log
- (1.77 KiB) Downloaded 110 times
Re: Memory leak on title screen
I'm not able to reproduce this. When I let it sit the memory usage stays *exactly* at the same amount. The debugger even shows the memory allocations don't increase or decrease.
Have you checked any other running programs you might have going? Anything that might hook into processes or modify them in any way.
Have you checked any other running programs you might have going? Anything that might hook into processes or modify them in any way.
If you want to get ahold of me I'm almost always on Discord.
-
- Fast Inserter
- Posts: 171
- Joined: Sun Feb 17, 2013 4:31 pm
- Contact:
Re: Memory leak on title screen
Just passing by, and I dont have Factorio installed through Steam, but could the Steam overlay be causing this? (not sure if you tried to repro this with and without it)Rseding91 wrote:I'm not able to reproduce this. When I let it sit the memory usage stays *exactly* at the same amount. The debugger even shows the memory allocations don't increase or decrease.
Have you checked any other running programs you might have going? Anything that might hook into processes or modify them in any way.
Re: Memory leak on title screen
Still happening on 0.12.31
Also noticed it causes my pagefile to blow out to 44GB and fill up my hard drive.
How long did you leave it running for? Did you test with the Steam version?
Also noticed it causes my pagefile to blow out to 44GB and fill up my hard drive.
How long did you leave it running for? Did you test with the Steam version?
- Attachments
-
- factorio-previous.log
- (1.53 KiB) Downloaded 85 times
Re: Memory leak on title screen
I highly suspect you've got something else wrong on your computer as nobody else is reporting this issue.Petah wrote:Still happening on 0.12.31
Also noticed it causes my pagefile to blow out to 44GB and fill up my hard drive.
How long did you leave it running for? Did you test with the Steam version?
Can you upload the save file you're using?
If you want to get ahold of me I'm almost always on Discord.
Re: Memory leak on title screen
Attached, although its happened on more than 1 save.
- Attachments
-
- Again.zip
- (10.33 MiB) Downloaded 85 times
Re: Memory leak on title screen
I've had Factorio 0.12.31 idling in the background for the past hour and a half and it hasn't changed in memory usage in the slightest. You definitely have something else on your computer that's causing this. Do you have another computer available that you can try to reproduce the issue on?Petah wrote:Attached, although its happened on more than 1 save.
If you want to get ahold of me I'm almost always on Discord.
Re: Memory leak on title screen
Im not really sure how another app can cause a memory leak.
I noticed though I left the game going (not the menu) for 4 hours came back and it's sucked up 12GB. This was on a new game (attached SS).
It is locking the computer when I walk away (log in screen), could this be an issue?
I noticed though I left the game going (not the menu) for 4 hours came back and it's sucked up 12GB. This was on a new game (attached SS).
It is locking the computer when I walk away (log in screen), could this be an issue?
- Attachments
-
- Factorio2.png (1.25 MiB) Viewed 5729 times
Re: Memory leak on title screen
Did it again (0.12.33 steam):
- Attachments
-
- Factorio2.png (717.1 KiB) Viewed 5701 times
Re: Memory leak when left a long time.
I can't reproduce the problem. I started the game, locked the computer and left it for a few hours - zero memory leaks.
Unless you can replicate it on another computer I'm saying you've got some software on your end that's causing it.
Unless you can replicate it on another computer I'm saying you've got some software on your end that's causing it.
If you want to get ahold of me I'm almost always on Discord.
Re: Memory leak when left a long time.
ah, just the sort of thing i was looking for.
in V0.12.33, there's definitely some sort of Memory Leak.
it seems to be very, very minor if you just start a new game and watch memory. but the more things you do, the faster it seems to leak.
ending up as the fairly early new game i had started, where i have a pretty small factory and hadn't even left the start area yet - Factorio using just shy of 5gigs of Memory.
i figured it was one of the Mods - so i disabled all of them. loaded the same save, still leaking heavily.
i started a new game, placed down a bunch of miners, some belts, and some inserters doing various things, and then looked at memory for a bit. it was definitely leaking, with the random bits i'd placed with, it was leaking ~4KBytes per second.
however the real save before, had definitely been leaking much faster than that, as it had gotten just under 5gigs.
i can upload the related Save, but it's kind've huge. i'm guessing because the map is explored out quite a ways.
hell, maybe that's related, hmm.
hah! i made another blank new game, and explored out a ways on the map. the more i have explored, the faster it seems to leak from what i'm seeing.
even getting close to leaking 1MByte per second with a completely blank map (nothing built) with everything explored from -2048 to +2048.
in V0.12.33, there's definitely some sort of Memory Leak.
it seems to be very, very minor if you just start a new game and watch memory. but the more things you do, the faster it seems to leak.
ending up as the fairly early new game i had started, where i have a pretty small factory and hadn't even left the start area yet - Factorio using just shy of 5gigs of Memory.
i figured it was one of the Mods - so i disabled all of them. loaded the same save, still leaking heavily.
i started a new game, placed down a bunch of miners, some belts, and some inserters doing various things, and then looked at memory for a bit. it was definitely leaking, with the random bits i'd placed with, it was leaking ~4KBytes per second.
however the real save before, had definitely been leaking much faster than that, as it had gotten just under 5gigs.
i can upload the related Save, but it's kind've huge. i'm guessing because the map is explored out quite a ways.
hell, maybe that's related, hmm.
hah! i made another blank new game, and explored out a ways on the map. the more i have explored, the faster it seems to leak from what i'm seeing.
even getting close to leaking 1MByte per second with a completely blank map (nothing built) with everything explored from -2048 to +2048.