READ ONLY Backup - Star Trek Fan Games http://botf2.square7.ch/oldforum/ |
|
Game Save Problems!!! http://botf2.square7.ch/oldforum/viewtopic.php?f=32&t=4988 |
Page 1 of 1 |
Author: | Tron0001 [ 13 Jan 2014, 02:30 ] |
Post subject: | Game Save Problems!!! |
I must report a bug with the July and December 2013 releases of Supremacy. Most of the time games cannot be saved. Game log reports an "Out of Memory" exception. DETAILS: Supremacy is stored in D:\Games; full permissions there. (Game save path is, unchangeable, C:\Users\XXX\AppData\Local\Star Trek Supremacy\Saved Games\ ) Computer has ONLY an Admin. account. Starting Supremacy as Admin works at first, but after a while autosave stops and manual save is no-go. Restarting game (again as admin) is good only for one save or two; like a tightening noose the range shrinks. Running in WinXP compatibility mode also is in vain. Running thru a virtual XP setup gives a startup error. I run Windows 7 Ultimate sp1, 64-bit. with NET 4.51; 32GB system RAM. Virtual memory ~49GB. Last entries of Game Log are: 14:00:09.558 [26] DEBUG General - Auto-save time: 00:00:00.7495478 14:00:09.558 [26] DEBUG General - Update publish time: 00:00:00.7498240 14:00:09.558 [ServerEventLoop] DEBUG General - AI processing time: 00:00:00.0000326 14:00:09.956 [ClientEventLoop] DEBUG General - Deserialized 442,227 of data in 00:00:00.8242743 14:05:28.099 [26] DEBUG General - Serialized 0 bytes of data in 00:00:00.6920824 14:05:28.099 [26] ERROR General - Error saving game. System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.IO.MemoryStream.set_Capacity(Int32 value) at System.IO.MemoryStream.EnsureCapacity(Int32 value) at System.IO.MemoryStream.Write(Byte[] buffer, Int32 offset, Int32 count) at System.IO.BinaryWriter.Write(UInt64 value) at Supremacy.AI.InfluenceMap.Supremacy.IO.Serialization.IOwnedDataSerializable.SerializeOwnedData(SerializationWriter writer, Object context) at Supremacy.IO.Serialization.SerializationWriter.WriteObject(Object value) at Supremacy.Diplomacy.DiplomacyDataInternal.Supremacy.IO.Serialization.IOwnedDataSerializable.SerializeOwnedData(SerializationWriter writer, Object context) at Supremacy.IO.Serialization.SerializationWriter.WriteObject(Object value) at Supremacy.Diplomacy.ForeignPower.Supremacy.IO.Serialization.IOwnedDataSerializable.SerializeOwnedData(SerializationWriter writer, Object context) at Supremacy.IO.Serialization.SerializationWriter.writeTypedArray(Array value, Boolean storeType) at Supremacy.IO.Serialization.SerializationWriter.Write[T](IList`1 value) at Supremacy.Collections.CollectionBase`1.SerializeOwnedData(SerializationWriter writer, Object context) at Supremacy.Collections.KeyedCollectionBase`2.SerializeOwnedData(SerializationWriter writer, Object context) at Supremacy.IO.Serialization.SerializationWriter.WriteObject(Object value) at Supremacy.Diplomacy.Diplomat.Supremacy.IO.Serialization.IOwnedDataSerializable.SerializeOwnedData(SerializationWriter writer, Object context) at Supremacy.IO.Serialization.SerializationWriter.writeTypedArray(Array value, Boolean storeType) at Supremacy.IO.Serialization.SerializationWriter.Write[T](IList`1 value) at Supremacy.Collections.CollectionBase`1.SerializeOwnedData(SerializationWriter writer, Object context) at Supremacy.Collections.KeyedCollectionBase`2.SerializeOwnedData(SerializationWriter writer, Object context) at Supremacy.IO.Serialization.SerializationWriter.WriteObject(Object value) at Supremacy.Game.GameContext.SerializeOwnedData(SerializationWriter writer, Object context) at Supremacy.IO.Serialization.SerializationWriter.WriteObject(Object value) at Supremacy.IO.StreamUtility.Write(Object value) at Supremacy.Game.SavedGameManager.SaveGame(String fileName, GameContext game, Player localPlayer, LobbyData lobbyData) |
Author: | reg [ 13 Jan 2014, 09:57 ] |
Post subject: | Re: Game Save Problems!!! |
i have no idea to that atm, but do you have a save game for us? |
Author: | Bloodwurm [ 13 Jan 2014, 14:56 ] |
Post subject: | Re: Game Save Problems!!! |
Tron0001 wrote: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.IO.MemoryStream.set_Capacity(Int32 value) at System.IO.MemoryStream.EnsureCapacity(Int32 value) at System.IO.MemoryStream.Write(Byte[] buffer, Int32 offset, Int32 The game is apparently running out of memory to successfully save. How much RAM does your PC have and can you verify through the task manager how much memory Supremacy is using when it's running (just before you try and save)? |
Author: | reg [ 13 Jan 2014, 21:33 ] |
Post subject: | Re: Game Save Problems!!! |
Quote: I run Windows 7 Ultimate sp1, 64-bit. with NET 4.51; 32GB system RAM. Virtual memory ~49GB. he's underway with superluminal velocity, but maybe that's exactly the problem of too much RAM (too less RAM can not be the problem ![]() |
Author: | Bloodwurm [ 14 Jan 2014, 16:44 ] |
Post subject: | Re: Game Save Problems!!! |
Thx reg, didn`t notice he mentioned it already ![]() |
Author: | Iceman [ 18 Jan 2014, 17:16 ] |
Post subject: | Re: Game Save Problems!!! |
Tron0001 wrote: I must report a bug with the July and December 2013 releases of Supremacy. Most of the time games cannot be saved. Game log reports an "Out of Memory" exception. A couple of questions: Did this also happen before the july release? Does it happen for all map sizes, or for which does it start happening? Does it happen with and without minors? Any other information that might be relevant, like ship count, colony count, etc that you find to trigger this? Thanks |
Author: | Tron0001 [ 27 Jan 2014, 01:36 ] |
Post subject: | Re: Game Save Problems!!! |
In answer to latest query, no such save error with pre-07/2013 releases; but in all fairness I must state thah previous releases were played under a 32-bit Windows system (XP sp3). This leads me to ask: is Supremacy a 32-bit program? I have learnt that 32-bit systems (and presumably PROGRAMS) cannot access memory above 4GB. Second, 64-bit apps tend, unit for unit, be larger and use more memory than 32-bitters do. The 'Out of Memory' issues crop up once memory usage has hit roughly 11-13% (which out of 32GB gives arrrox. --4 GB-- consonant with presumed limit of memory access for 32-bit apps). If Supremacy IS 32-bit; know of any way to make it see memory above 4GB? |
Author: | Tron0001 [ 27 Jan 2014, 01:37 ] |
Post subject: | Re: Game Save Problems!!! |
Forgot to mention; I usually max out galaxy size and number of minor races. Usually start at early tech level. |
Author: | reg [ 02 Feb 2014, 15:52 ] |
Post subject: | Re: Game Save Problems!!! |
Tron0001 wrote: If Supremacy IS 32-bit; know of any way to make it see memory above 4GB? But maybe just start Supremacy using some windows compatibility mode (via click right mouse key) ...and please tell us when you had success in any way. Thanks and good luck ![]() |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |