Out of virtual memory
Posted: Wed Jun 12, 2024 6:25 am
My game crashes every few hours. Has for a long time and I just lived with it. More curiously, it tends to take out my browser with it. Finally looked in my event logs and found out why. A whole lot of this:
System:
Windows successfully diagnosed a low virtual memory condition. The following programs consumed the most virtual memory: DistantWorlds2.exe (16304) consumed 31289860096 bytes, [...].exe (10332) consumed 419708928 bytes, and [...].exe (5208) consumed 385142784 bytes.
That's almost 32GB virtual memory space allocated. Actual physical used is much lower. Which of course leads to:
Application:
Application: DistantWorlds2.exe
CoreCLR Version: 7.0.1423.51910
.NET Version: 7.0.14
Description: The process was terminated due to an unhandled exception.
Exception Info: Stride.Core.Serialization.Contents.ContentManagerException: Unexpected exception while loading asset [Ships/Abandoned/KitTextures/DetailPack_01_Emissive]. Reason: One or more errors occurred. (Insufficient memory to continue the execution of the program.). Check inner-exception for details.
---> System.AggregateException: One or more errors occurred. (Insufficient memory to continue the execution of the program.)
---> System.OutOfMemoryException: Insufficient memory to continue the execution of the program.
etc, etc.
I like big galaxies and I cannot lie, but I think Erik, et al need to look into freeing over-committed but unused memory space. I can mitigate this by increasing my page file, of course, but something is clearly awry.
The logs unhelpfully say "The GPU device instance has been suspended" which isn't the case. But I suppose it comes from being unable to load an asset.
System:
Windows successfully diagnosed a low virtual memory condition. The following programs consumed the most virtual memory: DistantWorlds2.exe (16304) consumed 31289860096 bytes, [...].exe (10332) consumed 419708928 bytes, and [...].exe (5208) consumed 385142784 bytes.
That's almost 32GB virtual memory space allocated. Actual physical used is much lower. Which of course leads to:
Application:
Application: DistantWorlds2.exe
CoreCLR Version: 7.0.1423.51910
.NET Version: 7.0.14
Description: The process was terminated due to an unhandled exception.
Exception Info: Stride.Core.Serialization.Contents.ContentManagerException: Unexpected exception while loading asset [Ships/Abandoned/KitTextures/DetailPack_01_Emissive]. Reason: One or more errors occurred. (Insufficient memory to continue the execution of the program.). Check inner-exception for details.
---> System.AggregateException: One or more errors occurred. (Insufficient memory to continue the execution of the program.)
---> System.OutOfMemoryException: Insufficient memory to continue the execution of the program.
etc, etc.
I like big galaxies and I cannot lie, but I think Erik, et al need to look into freeing over-committed but unused memory space. I can mitigate this by increasing my page file, of course, but something is clearly awry.
The logs unhelpfully say "The GPU device instance has been suspended" which isn't the case. But I suppose it comes from being unable to load an asset.