View unanswered posts | View active topics It is currently 15 Mar 2025, 08:55



Reply to topic  [ 9 posts ] 
 Game Save Problems!!! 
Author Message
Crewman
User avatar

Joined: 07 Oct 2004, 01:00
Posts: 3
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)


13 Jan 2014, 02:30
Profile
Lieutenant Junior Grade
Lieutenant Junior Grade
User avatar

Joined: 05 Jul 2008, 07:55
Posts: 270
Location: Germany
i have no idea to that atm, but do you have a save game for us?


13 Jan 2014, 09:57
Profile
Cadet
Cadet
User avatar

Joined: 19 Jan 2013, 18:27
Posts: 91
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)?


13 Jan 2014, 14:56
Profile
Lieutenant Junior Grade
Lieutenant Junior Grade
User avatar

Joined: 05 Jul 2008, 07:55
Posts: 270
Location: Germany
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 :wink: )


13 Jan 2014, 21:33
Profile
Cadet
Cadet
User avatar

Joined: 19 Jan 2013, 18:27
Posts: 91
Thx reg, didn`t notice he mentioned it already :)


14 Jan 2014, 16:44
Profile
Admiral
Admiral
User avatar

Joined: 14 Jan 2009, 10:17
Posts: 2130
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


18 Jan 2014, 17:16
Profile
Crewman
User avatar

Joined: 07 Oct 2004, 01:00
Posts: 3
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?


27 Jan 2014, 01:36
Profile
Crewman
User avatar

Joined: 07 Oct 2004, 01:00
Posts: 3
Forgot to mention; I usually max out galaxy size and number of minor races. Usually start at early tech level.


27 Jan 2014, 01:37
Profile
Lieutenant Junior Grade
Lieutenant Junior Grade
User avatar

Joined: 05 Jul 2008, 07:55
Posts: 270
Location: Germany
Tron0001 wrote:
If Supremacy IS 32-bit; know of any way to make it see memory above 4GB?
I assume it's 32bit, but running on a Win64bit system should work as well.

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 :smile:


02 Feb 2014, 15:52
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 9 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by STSoftware.