View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0013802 | The Last Federation | Bug - Other | Apr 11, 2014 5:51 pm | Apr 17, 2014 4:15 pm | |
Reporter | wyvern83 | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Product Version | 0.853 (Solar Interface, Combat Balance) | ||||
Fixed in Version | 0.906 (RAM Usage, Race Uniquness, Split Difficulty) | ||||
Summary | 0013802: Engine reports System out of memory. | ||||
Description | It happens frequently and the ErrosReportedByEngine file has reached 39.5 KB with this being the only error reported. Time and Memory vary and reads exactly the same otherwise even after the update from 0.852 to 0.853 last night. My current system only has 2 GB of Memory as it runs XP so I sure this is the root of the issue. I'm getting a new computer soon with more memory and windows 7 but I thought I'd post it as XP is listed as a supported OS. 4/10/2014 11:41:36 PM (0.853) Mem: 53,194,752 Mode: SinglePlayerOrMultiplayerHost Plat:WindowsPlayer -----------------------------------ErrorsReportedByEngine----------------------------------- ----------- Could not allocate memory: System out of memory! Trying to allocate: 8294404B with 32 alignment. MemoryLabel: Texture Allocation happend at: Line:388 in Memory overview [ ALLOC_TEMP_THREAD ] used: 30736B | peak: 0B | reserved: 65536B [ ALLOC_DEFAULT ] used: 175843517B | peak: 0B | reserved: 194388608B [ ALLOC_GFX ] used: 663161140B | peak: 0B | reserved: 667599196B [ ALLOC_CACHEOBJECTS ] used: 44472B | peak: 0B | reserved: 8388608B [ ALLOC_TYPETREE ] used: 0B | peak: 0B | reserved: 0B [ ALLOC_PROFILER ] used: 72B | peak: 0B | reserved: 4194304B Stack Trace: | ||||
Tags | No tags attached. | ||||
Internal Weight | New | ||||
related to | 0013958 | resolved | Chris_McElligottPark | Graphical issue files |
|
Yikes, thanks for the report! Windows XP is indeed supported, but with 2GB of memory you need to make sure that you have swap space turned on and not many other programs running. Is that disabled on your system by any chance? |
|
For 0.860: * The game now automatically unloads unused large textures when it is not using them, in order to keep RAM usage lower. This was previously causing some issues on some systems. |
|
If this doesn't solve it, then nothing will! ;) * The memory handling of large textures for the game is now _vastly_ better. ** Previously it was loading all of the textures from disk in an uncompressed format. This leads to an absolutely-lossless representation of textures, but it requires... rather a lot of RAM. Gigs. ** Now the game is loading a lot of the larger textures in a very high-quality compressed format -- you won't even notice the difference, visually. The downside is that loading images now takes a bit more CPU power as it cross-compresses them, but that is pretty minor overall. ** The upside is that, thanks to this huge reduction in the amount of RAM used, there is no reason to keep loading and unloading textures like we have been for the last while -- that had a much larger CPU and IO cost, and may have been a memory leak as well (hard to tell; if so, it's internal to the unity engine). ** Just how big of savings are we talking? Well, normally the game loads the images as it needs them, rather than all up-front. However, we toggled it under the hood to load EVERYTHING up front, and these were the results: *** Prior to compression, just having loaded everything and sitting at the main menu: 2.689 GB used *** Post compression, just having loaded everything and sitting at the main menu: 1.177 GB used *** Holy cripes, that's a 56% reduction in RAM use overall, and and overall savings of 1.512 GB total! *** Bear in mind that under normal loading circumstances, the memory footprint at launch is only like 0.9 GB in either case. But as people continued to play, in some cases they would get RAM errors. It was only affecting a handful of people out of 160, but that's still way too many people -- and of course, once the game reaches a broader audience, it was going to be one of those things that affected a ton more people. |
|
I've swapped my wifi adapter over to my new computer so unless I can transfer the update files manually my time testing TLF on XP has come to an end. I'm glad it lead to the impressive ram usage savings you've achieved, it was definitely worth it just for that I think. |
|
Definitely, I agree -- thanks for that! |
Date Modified | Username | Field | Change |
---|---|---|---|
Apr 11, 2014 5:51 pm | wyvern83 | New Issue | |
Apr 11, 2014 9:57 pm | Chris_McElligottPark | Note Added: 0035815 | |
Apr 13, 2014 10:58 am | Chris_McElligottPark | Relationship added | related to 0013958 |
Apr 13, 2014 10:59 am | Chris_McElligottPark | Note Added: 0035926 | |
Apr 13, 2014 10:59 am | Chris_McElligottPark | Assigned To | => Chris_McElligottPark |
Apr 13, 2014 10:59 am | Chris_McElligottPark | Status | new => feedback |
Apr 17, 2014 10:55 am | Chris_McElligottPark | Internal Weight | => New |
Apr 17, 2014 10:55 am | Chris_McElligottPark | Note Added: 0036225 | |
Apr 17, 2014 10:55 am | Chris_McElligottPark | Status | feedback => resolved |
Apr 17, 2014 10:55 am | Chris_McElligottPark | Fixed in Version | => 0.906 (RAM Usage, Race Uniquness, Split Difficulty) |
Apr 17, 2014 10:55 am | Chris_McElligottPark | Resolution | open => fixed |
Apr 17, 2014 3:53 pm | wyvern83 | Note Added: 0036232 | |
Apr 17, 2014 4:15 pm | Chris_McElligottPark | Note Added: 0036234 |