System.OutOfMemoryException ??
Tharssen
06 Dec 2020, 23:18Anyone know what this could be about?
I'm just experimenting with commands and have a rather small game so far, so this seems pretty out of place... It's not like I'm trying this on my MSX-2 or anything... Plenty of memory to go around (or so I thought).
What I was trying to do, is adding commands to cover things in rooms that players might want to try... Like climbing ladders, going up ladders, using ladders, etc. I didn't even dabble in the black magic of Quest yet :-P
I can't even open my game anymore, it immediately gives this error... Is it a total loss then?
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.Text.StringBuilder.ReplaceBufferInternal(Char* newBuffer, Int32 newLength)
at MS.Internal.WindowsBase.NativeMethodsSetLastError.GetWindowText(HandleRef hWnd, StringBuilder lpString, Int32 nMaxCount)
at MS.Win32.UnsafeNativeMethods.GetWindowText(HandleRef hWnd, StringBuilder lpString, Int32 nMaxCount)
at System.Windows.Automation.Peers.GenericRootAutomationPeer.GetNameCore()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.ContextLayoutManager.fireAutomationEvents()
at System.Windows.ContextLayoutManager.UpdateLayout()
at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)```
Thanks - all help much appreciated!