• 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.

OutOfMemoryException with very complex models

Horst18519

Moderator
Resource contributor
Messages
2,370
Country
germany
Arno, I think I ran into an MCX limit when trying to export an airport model that includes all my objects on the airport. I tried this to avoid drawcall issues between 3D lights and objects which always is tricky in FSX & P3D. I'll attach the log file so you can take a look at it. I use Windows 10 64bit with 32GB RAM so there should be no hardware limit. I guess there's a variable somewhere in MCX that only allows to access x GB of RAM?
 

Attachments

  • _log.txt
    18.4 KB · Views: 306

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,885
Country
netherlands
Hi Thorsten,

It's actually XtoMdl that runs out of memory, not MCX. Which version of XtoMdl do you use?
 

Horst18519

Moderator
Resource contributor
Messages
2,370
Country
germany
Thanks, Arno, that makes sense. I use the old xtomdl from FSX SP2. I just tried it with the new P3Dv4 xtomdl and that works without an error. Unfortunately I then need to use the P3Dv4 bglcomp as well and models compiled with that don't seem to work in FSX.
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,885
Country
netherlands
Hi,

If you use the P3D v4 XtoMDL it uses the P3D v2/4 MDL format indeed, so that won't work in FSX.

Did you try the P3D v1.4 XtoMDL? I'm not sure, but it might be a little more optimized than the FSX one. Although I think it is still a 32 bit application.
 
Top