• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Error Report V1.4

Messages
55
Country
germany
Hi Arno,

In the material editor, when I try to minimize drawcalls and texture sheets, after klicking predict drawcalls I get the following exception error:


Code:
************** Ausnahmetext **************
System.OutOfMemoryException: Eine Ausnahme vom Typ "System.OutOfMemoryException" wurde ausgelöst.
   bei ASToFra.TextureObject.TextureImage..ctor(Int32 width, Int32 height)
   bei ASToFra.TextureObject.TextureImage.Repeat(Int32 repeatX, Int32 repeatY)
   bei ASToFra.ObjectEditor.DrawcallMinimizer.GenerateSortedImageList(Dictionary`2 combinedTextureList, Dictionary`2 repeatingTexture, List`1& iList, Dictionary`2& tDict)
   bei ASToFra.ObjectEditor.DrawcallMinimizer.CombineTextures(TextureFormatWrite texFormat, TextureSize texSize, Boolean repeatingTextures, Int32 border)
   bei ASToFra.ObjectEditor.DrawcallMinimizer.MergeTextures(String textureFolder, String baseName, Boolean writeTextures, TextureFormatWrite textureFormat, TextureSize textureSize, Boolean repeatingTextures, Int32 border)
   bei ASToFra.ObjectEditor.DrawcallMinimizer.MinimizeDrawcalls(String textureFolder, String baseName, Boolean writeTextures, TextureFormatWrite textureFormat, TextureSize textureSize, Boolean repeatingTextures, Int32 border)
   bei ASToFra.ModelConverterX.MaterialEditorForm.PredictResult()
   bei ASToFra.ModelConverterX.MaterialEditorForm.cmdPredictDrawcalls_Click(Object sender, EventArgs e)
   bei System.Windows.Forms.Control.OnClick(EventArgs e)
   bei System.Windows.Forms.Button.OnClick(EventArgs e)
   bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei System.Windows.Forms.ButtonBase.WndProc(Message& m)
   bei System.Windows.Forms.Button.WndProc(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Geladene Assemblys **************
mscorlib
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.3643 (GDR.050727-3600).
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
----------------------------------------
ModelConverterXLaunch
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.4.0.0.
    CodeBase: file:///F:/Microsoft%20Games/Microsoft%20Flight%20Simulator%20X%20SDK/latest_development_releases_package/ModelConverterX.exe.
----------------------------------------
ModelConverterX
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.4.0.0.
    CodeBase: file:///F:/Microsoft%20Games/Microsoft%20Flight%20Simulator%20X%20SDK/latest_development_releases_package/ModelConverterX.DLL.
----------------------------------------
System.Windows.Forms
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.3644 (GDR.050727-3600).
    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.3644 (GDR.050727-3600).
    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.3644 (GDR.050727-3600).
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
Interfaces
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.4.0.0.
    CodeBase: file:///F:/Microsoft%20Games/Microsoft%20Flight%20Simulator%20X%20SDK/latest_development_releases_package/Interfaces.DLL.
----------------------------------------
ObjectModel3D
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.4.0.0.
    CodeBase: file:///F:/Microsoft%20Games/Microsoft%20Flight%20Simulator%20X%20SDK/latest_development_releases_package/ObjectModel3D.DLL.
----------------------------------------
ObjectWriter
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.4.0.0.
    CodeBase: file:///F:/Microsoft%20Games/Microsoft%20Flight%20Simulator%20X%20SDK/latest_development_releases_package/ObjectWriter.DLL.
----------------------------------------
ObjectReader
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.4.0.0.
    CodeBase: file:///F:/Microsoft%20Games/Microsoft%20Flight%20Simulator%20X%20SDK/latest_development_releases_package/ObjectReader.DLL.
----------------------------------------
EventLog
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.4.0.0.
    CodeBase: file:///F:/Microsoft%20Games/Microsoft%20Flight%20Simulator%20X%20SDK/latest_development_releases_package/EventLog.DLL.
----------------------------------------
ObjectRenderer
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.4.0.0.
    CodeBase: file:///F:/Microsoft%20Games/Microsoft%20Flight%20Simulator%20X%20SDK/latest_development_releases_package/ObjectRenderer.DLL.
----------------------------------------
CSGL12DLL
    Assembly-Version: 12.0.0.0.
    Win32-Version: 1.0.0.0.
    CodeBase: file:///F:/Microsoft%20Games/Microsoft%20Flight%20Simulator%20X%20SDK/latest_development_releases_package/CSGL12DLL.DLL.
----------------------------------------
ParticleEffects
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.4.0.0.
    CodeBase: file:///F:/Microsoft%20Games/Microsoft%20Flight%20Simulator%20X%20SDK/latest_development_releases_package/ParticleEffects.DLL.
----------------------------------------
System.Configuration
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.3053 (netfxsp.050727-3000).
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.
----------------------------------------
System.Xml
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.3082 (QFE.050727-3000).
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
Utils
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.4.0.0.
    CodeBase: file:///F:/Microsoft%20Games/Microsoft%20Flight%20Simulator%20X%20SDK/latest_development_releases_package/Utils.DLL.
----------------------------------------
mscorlib.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.3643 (GDR.050727-3600).
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
----------------------------------------
TextureObject
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.4.0.0.
    CodeBase: file:///F:/Microsoft%20Games/Microsoft%20Flight%20Simulator%20X%20SDK/latest_development_releases_package/TextureObject.DLL.
----------------------------------------
System.Windows.Forms.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.3053 (netfxsp.050727-3000).
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------
System.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.3053 (netfxsp.050727-3000).
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.resources/2.0.0.0_de_b77a5c561934e089/System.resources.dll.
----------------------------------------
System.Design
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.3644 (GDR.050727-3600).
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll.
----------------------------------------
Accessibility
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.3053 (netfxsp.050727-3000).
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll.
----------------------------------------
System.Design.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.3053 (netfxsp.050727-3000).
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design.resources/2.0.0.0_de_b03f5f7f11d50a3a/System.Design.resources.dll.
----------------------------------------
TextureLoader
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.4.0.0.
    CodeBase: file:///F:/Microsoft%20Games/Microsoft%20Flight%20Simulator%20X%20SDK/latest_development_releases_package/TextureLoader.DLL.
----------------------------------------
ObjectEditor
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.4.0.0.
    CodeBase: file:///F:/Microsoft%20Games/Microsoft%20Flight%20Simulator%20X%20SDK/latest_development_releases_package/ObjectEditor.DLL.
----------------------------------------

Tried it on Windows XP (32 Bit) and Win7 (64 Bit)
ModelConverterX Version 1.4.0.0 r2081

Greetings
Carsten
 
Last edited:
Hi,

I get the same "Out of memory" exception but I am not sure if this has to do with MCX or with my limited (2Gb) RAM. What is your RAM?
 
Hi Roby,

it is 6 GB and I'm pretty sure it doesn't have to do with RAM. But it meight be relevant how many textures are in the Model. I'll check again with a smaller object with less textures.
I'll come back to you with the results.

Carsten
 
Hi Carsten,

How many textures does your model have and how big are the textures?
 
Hello Arno and fellow developers,

I made a Video of the above error. I first load a complex model, then a simple one. The outcome is slightly different and it might help to find the cause.

http://youtu.be/XGPwsmgct6s

My tongue got a little rusty on the language, didn’t talk much English lately, so please excuse.

Carsten
 
Hi,

Especially the last object should be quite quick, since it only has one texture. Ca you send me that one for debugging? Then I can see what is going on. Maybe the texture is repeating and that might be why the memory keeps increasing.
 
Sure, just send it to you.
 
Back
Top