How to reproduce:
- Have a baseline of about 1GB video memory used (Firefox, Spotify etc)
- Start game
- Video memory usage approaches 3GB
- This error appears
The error does not appear when baseline is around 600MB and total usage including game is around 2.6GB. And in that case I can start other programs to exceed 3GB of memory just fine.
I have a GTX980 with 4GB memory total so 3GB should be totally doable, still Factorio has this error. Drivers are 388.31 .
[posila][16.0][Win10] GL_OUT_OF_MEMORY (but actually isn't?)
[posila][16.0][Win10] GL_OUT_OF_MEMORY (but actually isn't?)
- Attachments
-
- factorio-current.log
- (3.72 KiB) Downloaded 114 times
Re: [16.0][Win10] GL_OUT_OF_MEMORY (but actually isn't?)
An observation (not sure how accurate): I am able to reproduce the message 100% and no matter what my baseline video memory, the error always seems to happen with one of the artillery wagon textures.
Re: [16.0][Win10] GL_OUT_OF_MEMORY (but actually isn't?)
Try reducing max atlas size - it might be that it's trying to grab very big texture and due to memory fragmentation is unable to do so at given moment and dies with out of memory error.
Re: [16.0][Win10] GL_OUT_OF_MEMORY (but actually isn't?)
Well yes it feels like it is trying to allocate over 1GB of video memory and then using only a few megabytes of it. I don't think it's due to memory fragmentation since it always happens above a certain memory usage and never below that limit (which is about 1.1GB below the max available video memory).
Re: [16.0][Win10] GL_OUT_OF_MEMORY (but actually isn't?)
I wonder why it uses OpenGL on your machine. On mine, it still uses D3D
Koub - Please consider English is not my native language.
Re: [16.0][Win10] GL_OUT_OF_MEMORY (but actually isn't?)
Hmm I'll have a look at the boot options later today. I have set it to OpenGL sometime in the past because of some graphical issues and never set it back.
Re: [posila][16.0][Win10] GL_OUT_OF_MEMORY (but actually isn't?)
Some other guy posted a question about SLI support (he had extreme performance drop while in SLI, compared to when he had it disabled). I'll try to find the post. I see you have a GTX 980 SLI, so ...
[Edit] There it is : viewtopic.php?f=49&t=54695
[Edit] There it is : viewtopic.php?f=49&t=54695
Koub - Please consider English is not my native language.
Re: [posila][16.0][Win10] GL_OUT_OF_MEMORY (but actually isn't?)
Ok this seems to have been fixed, I suspect together with viewtopic.php?t=54548 .
Re: [posila][16.0][Win10] GL_OUT_OF_MEMORY (but actually isn't?)
Does it work reliably now?piderman wrote:Ok this seems to have been fixed, I suspect together with viewtopic.php?t=54548 .
I can see it fails on the almost same file as in the thread you linked, but in that thread GDI+ refused to decompress PNG file with "Out of memory" error code; you got out of memory from OpenGL