Comments on: Scalability and apt.dat https:/2009/09/scalability-and-apt-dat/ Developer resources for the X-Plane flight simulator Tue, 01 Feb 2011 19:01:11 +0000 hourly 1 https://wordpress.org/?v=6.6.1 By: Benjamin Supnik https:/2009/09/scalability-and-apt-dat/#comment-600 Mon, 23 Nov 2009 21:17:26 +0000 http://www.x-plane.com/dev_blog/?p=176#comment-600 Please file a bug; don't use this blog for bug reports.

]]>
By: Anonymous https:/2009/09/scalability-and-apt-dat/#comment-601 Mon, 23 Nov 2009 20:00:21 +0000 http://www.x-plane.com/dev_blog/?p=176#comment-601 Getting the XMapped ran out of memory error in 9.40RC16 in mid-air. Custom mesh and scenery – hope that helps. What i noticed is that prior to the error pop-up my HSI filled with missing VOR/NDB's (prolly not loaded properly earlier due to memory shortage?)

]]>
By: Anonymous https:/2009/09/scalability-and-apt-dat/#comment-602 Sat, 05 Sep 2009 14:51:01 +0000 http://www.x-plane.com/dev_blog/?p=176#comment-602 so how can i increase the physical address space ? I used to get the same error in X-Plane 9.31 sometimes aswell..I am Currently running X-Plane on Windows Vista 32bit ? Will changing my windows to XP32-bit can remove or atleast reduce this problem ?

]]>
By: Benjamin Supnik https:/2009/09/scalability-and-apt-dat/#comment-603 Sat, 05 Sep 2009 14:46:32 +0000 http://www.x-plane.com/dev_blog/?p=176#comment-603 Aon – you probably have exactly what the post says:

"This means that at times on an 8 core machine we could easily have allocated 50 * 8 = 400 MB of memory just to temporarily hold 8 copies of the apt.dat file.*"

It's a bug in the 940 betas, the patch is not out yet. Wait for beta 8. And 4 GB of RAM doesn't make a difference – you're running out of physical address space – more RAM chips never help that.

]]>
By: Anonymous https:/2009/09/scalability-and-apt-dat/#comment-604 Sat, 05 Sep 2009 14:39:35 +0000 http://www.x-plane.com/dev_blog/?p=176#comment-604 hey ben ! Mate I am getting this memory error in X-Plane 9 . Whenever I switch from one airport to another I get this freaking awesome error "Xmapped file ran out of memort". what the hell is this ? I have got a Core 2 quad q9550 @ 2.83ghz and 8800gtx with 768mb memory and 4gb ram..I shouldnt get this stupid memory errors right ? Please advise

]]>
By: Paploo https:/2009/09/scalability-and-apt-dat/#comment-605 Sat, 05 Sep 2009 13:22:47 +0000 http://www.x-plane.com/dev_blog/?p=176#comment-605 It sounds to me like you need to MD5 hash or even just re-check the modification timestamp of the apt.dat file before re-opening the file for a read, and then go through all the re-indexing if it has changed. (I'd think you'd want to do this for safety anyway) But since I don't know the X-Plane code, I can't say what unknown hitches to that plan arise, nor what the performance loss is. 🙂

]]>
By: Benjamin Supnik https:/2009/09/scalability-and-apt-dat/#comment-606 Fri, 04 Sep 2009 21:01:04 +0000 http://www.x-plane.com/dev_blog/?p=176#comment-606 We could someday do apt reload but for now it's worse than it used to be – if you resave the apt.dat after loading, the in-memory index of where the airports live could be wrong and cause serious problems. Better not to try it for now.

]]>
By: Paploo https:/2009/09/scalability-and-apt-dat/#comment-607 Fri, 04 Sep 2009 19:52:25 +0000 http://www.x-plane.com/dev_blog/?p=176#comment-607 Hey Ben: Does this mean that scenery developers can finally reload airports without having to reboot the app? Or, at least, that that capability may be realistic to attain?

]]>