OpenRA / OpenRA

Open Source real-time strategy game engine for early Westwood games such as Command & Conquer: Red Alert written in C# using SDL and OpenGL. Runs on Windows, Linux, *BSD and Mac OS X.
https://www.openra.net
GNU General Public License v3.0
14.59k stars 2.66k forks source link

System out of memory #11489

Closed Micr0Bit closed 7 years ago

Micr0Bit commented 8 years ago

wasnt sure if that is a duplicate as i find it hard to distinguish our "system out of memorys" ... (i dont know what i have to look for in order to make the title more precise) but the log looks ... fancy ... so , feel free to change the title to something that fits more

Red Alert Mod at Version release-20160508
on map bbbf21050e9ad1d69a6478deb31eafe88bbcff65 (Gulf of Grief (Rich version) by VRk & Green Giant).
Operating System: Linux (Unix 3.16.0.4)
Runtime Version: Mono 3.2.8 (Debian 3.2.8+dfsg-10) CLR 4.0.30319.17020
Exception of type `System.OutOfMemoryException`: Out of memory
  at (wrapper managed-to-native) object:__icall_wrapper_mono_gc_alloc_vector (intptr,intptr,intptr)
  at (wrapper alloc) object:AllocVector (intptr,intptr)
  at OpenRA.StreamExts.ReadBytes (System.IO.Stream s, Int32 count) [0x00000] in <filename unknown>:0
  at OpenRA.StreamExts.ReadAllBytes (System.IO.Stream s) [0x00000] in <filename unknown>:0
  at OpenRA.Sound.LoadSound (OpenRA.ISoundLoader[] loaders, IReadOnlyFileSystem fileSystem, System.String filename) [0x00000] in <filename unknown>:0
  at OpenRA.Sound+<Initialize>c__AnonStorey0.<>m__0 (System.String s) [0x00000] in <filename unknown>:0
  at OpenRA.Exts.GetOrAdd[String,ISoundSource] (System.Collections.Generic.Dictionary`2 d, System.String k, System.Func`2 createFn) [0x00000] in <filename unknown>:0
  at OpenRA.Primitives.Cache`2[System.String,OpenRA.ISoundSource].get_Item (System.String key) [0x00000] in <filename unknown>:0
  at OpenRA.Sound.PlayMusicThen (OpenRA.GameRules.MusicInfo m, System.Action then) [0x00000] in <filename unknown>:0
  at OpenRA.Mods.Common.Traits.MusicPlaylist.Play () [0x00000] in <filename unknown>:0
  at OpenRA.Mods.Common.Traits.MusicPlaylist.<Play>m__2 () [0x00000] in <filename unknown>:0
  at OpenRA.Sound.Tick () [0x00000] in <filename unknown>:0
  at OpenRA.Game.InnerLogicTick (OpenRA.Network.OrderManager orderManager) [0x00000] in <filename unknown>:0
  at OpenRA.Game.LogicTick () [0x00000] in <filename unknown>:0
  at OpenRA.Game.Loop () [0x00000] in <filename unknown>:0
  at OpenRA.Game.Run () [0x00000] in <filename unknown>:0
  at OpenRA.Program.Run (System.String[] args) [0x00000] in <filename unknown>:0
  at OpenRA.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
Mailaender commented 8 years ago

This is not identical to https://github.com/OpenRA/OpenRA/issues/11300 but may be related. #8593 might be able to fix it.

RoosterDragon commented 7 years ago

Tracking this as part of #12494.