Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Random Crashes while saving

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> Tech Support >> Random Crashes while saving Page: [1]
Login
Message << Older Topic   Newer Topic >>
Random Crashes while saving - 5/2/2010 1:41:33 AM   
Bestor

 

Posts: 18
Joined: 3/29/2010
Status: offline
My game seems to have developed another problem sigh.. when im saving the game some times the galaxy spinning thingy stutters and stops then i get the following error message poping up.

Distant worlds could not save this game.

Error:

Then loads of out of memory exception and system.runtime.sterilization error lines

and i also get the following .net framework error box coming up. I have uninstalled and re installed .net software and that hans helped, any ideas?

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text ************** System.ComponentModel.Win32Exception: Not enough storage is available to process this command

at System.Drawing.BufferedGraphicsContext.CreateCompatibleDIB(IntPtr hdc, IntPtr hpal, Int32 ulWidth, Int32 ulHeight, IntPtr& ppvBits)

at System.Drawing.BufferedGraphicsContext.CreateBuffer(IntPtr src, Int32 offsetX, Int32 offsetY, Int32 width, Int32 height)

at System.Drawing.BufferedGraphicsContext.AllocBuffer(Graphics targetGraphics, IntPtr targetDC, Rectangle targetRectangle)

at System.Drawing.BufferedGraphicsContext.AllocBufferInTempManager(Graphics targetGraphics, IntPtr targetDC, Rectangle targetRectangle)

at System.Drawing.BufferedGraphicsContext.Allocate(IntPtr targetDC, Rectangle targetRectangle)

at System.Windows.Forms.Control.WmPaint(Message& m)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies ************** mscorlib

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- MC

Assembly Version: 3.0.0.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll ---------------------------------------- System.Windows.Forms

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- ŠŠŹ›’“˜†‰™•ˆš‹‰‰ť–

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll ---------------------------------------- License

Assembly Version: 1.0.0.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll ---------------------------------------- DistantWorlds

Assembly Version: 1.0.3.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll ---------------------------------------- DistantWorlds.Controls

Assembly Version: 1.0.0.42381

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll ---------------------------------------- AxInterop.WMPLib

Assembly Version: 1.0.0.0

Win32 Version: 1.0.0.0

CodeBase: file:///E:/Distant%20Worlds/AxInterop.WMPLib.DLL ---------------------------------------- DistantWorlds.Types

Assembly Version: 1.0.0.42379

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll ---------------------------------------- Interop.WMPLib

Assembly Version: 1.0.0.0

Win32 Version: 1.0.0.0

CodeBase: file:///E:/Distant%20Worlds/Interop.WMPLib.DLL ---------------------------------------- Microsoft.DirectX.DirectSound

Assembly Version: 1.0.2902.0

Win32 Version: 5.04.00.2904

CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.DirectSound/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.DirectSound.dll ---------------------------------------- System.Deployment

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll ---------------------------------------- Microsoft.VisualBasic

Assembly Version: 8.0.0.0

Win32 Version: 8.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll ---------------------------------------- PresentationCore

Assembly Version: 3.0.0.0

Win32 Version: 3.0.6920.4902 built by: NetFXw7

CodeBase: file:///C:/Windows/assembly/GAC_32/PresentationCore/3.0.0.0__31bf3856ad364e35/PresentationCore.dll ---------------------------------------- WindowsBase

Assembly Version: 3.0.0.0

Win32 Version: 3.0.6920.4902 built by: NetFXw7

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/WindowsBase/3.0.0.0__31bf3856ad364e35/WindowsBase.dll ---------------------------------------- Microsoft.DirectX

Assembly Version: 1.0.2902.0

Win32 Version: 5.04.00.2904

CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll ---------------------------------------- System.Runtime.Serialization

Assembly Version: 3.0.0.0

Win32 Version: 3.0.4506.4926 (NetFXw7.030729-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Serialization/3.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll ---------------------------------------- System.Xml

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- SMDiagnostics

Assembly Version: 3.0.0.0

Win32 Version: 3.0.4506.4926 (NetFXw7.030729-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/SMDiagnostics/3.0.0.0__b77a5c561934e089/SMDiagnostics.dll ---------------------------------------- System.Configuration

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ----------------------------------------

************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.

For example:

<configuration>

<system.windows.forms jitDebugging="true" /> </configuration>

When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.

--------------------------------------



Post #: 1
RE: Random Crashes while saving - 5/3/2010 3:36:11 PM   
Bestor

 

Posts: 18
Joined: 3/29/2010
Status: offline
ok sorry for the double post, but this is getting worse it started out as the odd crash here and there but now its almost every time i try an auto or manual save, and ive now started getting that white screen with a red cross thing, could it be that its because im running 64bit and its a 32 bit app? and i keep getting out of memory errors and i doubt that considering i have 12 gig.

Its almost like the program itself is degrading slowly.

(in reply to Bestor)
Post #: 2
RE: Random Crashes while saving - 5/3/2010 3:40:30 PM   
Erik Rutins

 

Posts: 37503
Joined: 3/28/2000
From: Vermont, USA
Status: offline
Which version is this with, Bestor?

_____________________________

Erik Rutins
CEO, Matrix Games LLC




For official support, please use our Help Desk: http://www.matrixgames.com/helpdesk/

Freedom is not Free.

(in reply to Bestor)
Post #: 3
RE: Random Crashes while saving - 5/4/2010 12:29:23 AM   
Bestor

 

Posts: 18
Joined: 3/29/2010
Status: offline
Hi erik, im running 1.0.3.0 atm, ive only just got it working from having problems with my triple head setup and to start with it was working great but over the last week its slowly became more unstable. ive tryed stuff like re installing .net, full driver re install, disableing sli, runing in all the compatability modes, runing as admin (even though my account is admin) and changeing memory buffer sizes ect, the only thing that i think it can be in a memory leak, but im not an expert so im prolly wrong.

oh i dont know if this is important but each time i have the crash to menu i check task manager and dw is using over a gig of memory dont remember it geting that high normaly.

cheers..

(in reply to Erik Rutins)
Post #: 4
RE: Random Crashes while saving - 5/4/2010 3:31:22 AM   
elliotg


Posts: 3597
Joined: 9/10/2007
Status: offline
Hi Bestor

What size galaxy are you trying to save there? (how many stars, empires, etc) Is the error message you're seeing always that same one? ("Not enough storage is available to process this command")

I've put some further improvements into the final version of 1.0.4 that might help you with this situation too.

With 12 gig of RAM, it's unlikely to be your temp files, but you could try cleaning out your Windows temp folders (as described below), and also close any other apps that are running.

Thanks Elliot

quote:

Boot Windows into safe mode (F8 key) and do the following:

Empty your IE cache and your other temporary file folders: c:\temp c:\windows\temp c:\Documents and Settings\<username>\Local Settings\Temp

The path to your temp folder will change depending on username and operating system.

Empty: c:\windows\prefetch

Do NOT try to delete the contents of the Windows folder, delete ONLY the contents of the prefetch folder

Go to Control Panel. Open Internet Options, Temporary Internet Files {Settings Button}, View Objects, Downloaded Program Files. A Windows Explorer window will open. Unwanted plugins can be removed by right clicking on the object, and selecting 'remove'.

Go to the Programs Tab then click on Manage Add-Ons. Examine the list of 'Add-ons that have been used by Internet Explorer' and disable anything that you do not want Internet Explorer to use. If you wish, the add-ons can be re-enabled at a later time.

Finally, Reboot your system.

(in reply to Bestor)
Post #: 5
RE: Random Crashes while saving - 5/4/2010 9:37:16 PM   
Bestor

 

Posts: 18
Joined: 3/29/2010
Status: offline
Hey elliot thanks for the quick responses, ive tryed will 1000 and 1400 star galaxies with max races and with only 5 races, i get the same issue, also just cleared out all the files you posted, but managed to re create the issue first time, its always not enough memory error. or the random .net windows i get here and there are always sating not enough memory to process.

the only thing i didnt mention is that my cpu is overclocked to 4.1ghz could this cause any issues?

(in reply to elliotg)
Post #: 6
RE: Random Crashes while saving - 5/4/2010 11:35:03 PM   
taltamir

 

Posts: 1290
Joined: 4/2/2010
Status: offline
I might be completely offbase by asking this but... how much free HDD space do you have? large saves are over 100MB each.

(in reply to Bestor)
Post #: 7
RE: Random Crashes while saving - 5/6/2010 2:00:00 PM   
sbach2o

 

Posts: 378
Joined: 3/26/2010
Status: offline
I happen to have a stack trace from an OutOfMemoryException during a save of a 1.0.3. game, here it is:

quote:

--------------------------- Cannot save game --------------------------- Distant Worlds could not save this game.

Error:

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

at System.Runtime.Serialization.ObjectToIdCache.Rehash()

at System.Runtime.Serialization.ObjectToIdCache.GetId(Object obj, Boolean& newId)

at System.Runtime.Serialization.XmlObjectSerializerWriteContextComplex.OnHandleReference(XmlWriterDelegator xmlWriter, Object obj, Boolean canContainCyclicReference)

at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerializeReference(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)

at WriteHabitatToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , ClassDataContract )

at System.Runtime.Serialization.ClassDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)

at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)

at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithoutXsiType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)

at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)

at System.Runtime.Serialization.XmlObjectSerializerWriteContextComplex.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)

at WriteArrayOfHabitatToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , CollectionDataContract )

at System.Runtime.Serialization.CollectionDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)

at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)

at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithoutXsiType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)

at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)

at System.Runtime.Serialization.XmlObjectSerializerWriteContextComplex.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)

at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerializeReference(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)

at WriteArrayOfHabitatToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , ClassDataContract )

at System.Runtime.Serialization.ClassDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)

at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)

at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithoutXsiType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)

at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)

at System.Runtime.Serialization.XmlObjectSerializerWriteContextComplex.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)

at WriteArrayOfArrayOfHabitatToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , CollectionDataContract )

at System.Runtime.Serialization.CollectionDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)

at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)

at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithoutXsiType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)

at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)

at System.Runtime.Serialization.XmlObjectSerializerWriteContextComplex.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)

at WriteArrayOfArrayOfArrayOfHabitatToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , CollectionDataContract )

at System.Runtime.Serialization.CollectionDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)

at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)

at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithoutXsiType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)

at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)

at System.Runtime.Serialization.XmlObjectSerializerWriteContextComplex.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)

at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerializeReference(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)

at WriteGalaxyToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , ClassDataContract )

at System.Runtime.Serialization.ClassDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)

at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)

at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithoutXsiType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)

at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)

at System.Runtime.Serialization.XmlObjectSerializerWriteContextComplex.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)

at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerializeReference(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)

at WriteGameToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , ClassDataContract )

at System.Runtime.Serialization.ClassDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)

at System.Runtime.Serialization.NetDataContractSerializer.InternalWriteObjectContent(XmlWriterDelegator writer, Object graph, DataContract contract, Hashtable surrogateDataContracts)

at System.Runtime.Serialization.NetDataContractSerializer.InternalWriteObject(XmlWriterDelegator writer, Object graph)

at System.Runtime.Serialization.XmlObjectSerializer.WriteObjectHandleExceptions(XmlWriterDelegator writer, Object graph)

at System.Runtime.Serialization.XmlObjectSerializer.WriteObject(XmlDictionaryWriter writer, Object graph)

at DistantWorlds.Main.81UvRhgnMT70k5KcZGa9SJqZDnhOOpp97IKZeVx4oTs95RJ9Oj(Stream )

at DistantWorlds.Main.86htJjFF7JBto(Object )

Working Set: 876810240 bytes --------------------------- OK

---------------------------


Saving such a huge thing through XML might bear certain risks and is, as we see with the time saving takes, quite inefficient. Although it is probably a bit late to turn over the whole concept.

The greater part of the savegame had been already written when the exception was thrown. At 49 MB it fell just one or two megabytes short of the last successful save.

Edit: About my ominous 'certain risks' remark: there is just guesswork on my side, no real experience or knowledge. The fact that there is a Rehash() function at the root of it might hint at this actually being an instance of what I pointed at in my post here, that it is a dynamically expanding array that gets too large during an internal operation in the framework library. This is complete speculation though. I do not know enough about how the XML serializers work, and whether there are real risks with huge object trees. I tried some googling and found nothing specific to point to.

But given that the latest savefiles for my 1000 star galaxy are around 50 MB and how well XML compresses typically, the amount of data going in there must be gigantic.

< Message edited by sbach2o -- 5/6/2010 2:37:00 PM >

(in reply to taltamir)
Post #: 8
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> Tech Support >> Random Crashes while saving Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

1.063