Jump to content
Sign in to follow this  
hefewe1zen

FSX never using more than 2GB RAM

Recommended Posts

The OPs question actually was why FSX was not using more than 1900MB of memory.

And given that my FSX install routinely shows less than 1000MB of memory being used in Task Manager, I would suggest that the answer is:

"This is normal, take an Aspirin, get a good night's sleep, and all will be well in the morning."  :wink:

  • Like 1

Bert

Share this post


Link to post
Share on other sites

Sorry, that may have come across as unkind..

Lets try again..

The OPs question actually was:

"Could it be that CPU is a bottleneck which results in limited RAM use?"

And my answer to this question was:

"This is normal.. A faster CPU will not use more RAM."

And that is what I still believe.  :wink:


Bert

Share this post


Link to post
Share on other sites
On 26 December 2018 at 1:26 PM, Jim Young said:

This is true but you are talking about virtual address space which is not memory.  Microsoft allocates up to 4GB's of VAS on a 64 bit system and up to 3GB on a 32 bit system that has the /3GB switch.  I was talking about RAM, those memory modules that sit on your MB.  More details are on page 36, AVSIM CTD Guide or around page 21, PMDG Intro Guides.

Yes, but in its simplest form, VAS is just effectively a portion of physical RAM that the OS allocates to a process or program. You said that FSX can use an unlimited amount of RAM but it doesn't matter how much RAM you have, FSX will only ever "see" (use) a maximum of 4GB of it. It doesn't get VAS and RAM.

Edited by vortex681

 i7-6700k | Asus Maximus VIII Hero | 16GB RAM | MSI GTX 1080 Gaming X Plus | Samsung Evo 500GB & 1TB | WD Blue 2 x 1TB | EVGA Supernova G2 850W | AOC 2560x1440 monitor | Win 10 Pro 64-bit

Share this post


Link to post
Share on other sites
36 minutes ago, vortex681 said:

Yes, but in its simplest form, VAS is just effectively a portion of physical RAM that the OS allocates to a process or program. You said that FSX can use an unlimited amount of RAM but it doesn't matter how much RAM you have, FSX will only ever "see" (use) a maximum of 4GB of it. It doesn't get VAS and RAM.

Totally agree and why I also have P3DV4 which is a 64-bit application that gives me up to 8 terabytes of VAS.


Jim Young | AVSIM Online! - Simming's Premier Resource!

Member, AVSIM Board of Directors - Serving AVSIM since 2001

Submit News to AVSIM
Important other links: Basic FSX Configuration Guide | AVSIM CTD Guide | AVSIM Prepar3D Guide | Help with AVSIM Site | Signature Rules | Screen Shot Rule | AVSIM Terms of Service (ToS)

I7 8086K  5.0GHz | GTX 1080 TI OC Edition | Dell 34" and 24" Monitors | ASUS Maximus X Hero MB Z370 | Samsung M.2 NVMe 500GB and 1TB | Samsung SSD 500GB x2 | Toshiba HDD 1TB | WDC HDD 1TB | Corsair H115i Pro | 16GB DDR4 3600C17 | Windows 10 

 

Share this post


Link to post
Share on other sites
47 minutes ago, vortex681 said:

Yes, but in its simplest form, VAS is just effectively a portion of physical RAM that the OS allocates to a process or program. You said that FSX can use an unlimited amount of RAM but it doesn't matter how much RAM you have, FSX will only ever "see" (use) a maximum of 4GB of it. It doesn't get VAS and RAM.

And in a slightly less simple form, VAS is actually a superset of RAM that the OS allocates..

Remember, you can have 2 GB of RAM installed and still run FSX with 3 or 4 GB address space.

So RAM can be bigger or smaller than VAS, the OS does the mapping..

Edited by Bert Pieke

Bert

Share this post


Link to post
Share on other sites
10 hours ago, Bert Pieke said:

So RAM can be bigger or smaller than VAS, the OS does the mapping..

Yes, but it can never map/allocate more than 4GB to a 32 bit process.


 i7-6700k | Asus Maximus VIII Hero | 16GB RAM | MSI GTX 1080 Gaming X Plus | Samsung Evo 500GB & 1TB | WD Blue 2 x 1TB | EVGA Supernova G2 850W | AOC 2560x1440 monitor | Win 10 Pro 64-bit

Share this post


Link to post
Share on other sites
5 hours ago, vortex681 said:

Yes, but it can never map/allocate more than 4GB to a 32 bit process.

Agreed!


Bert

Share this post


Link to post
Share on other sites

For the OP: CPU makes no difference to RAM allocation.  FSX is a 32 bit program and cannot use more than 4 GB of RAM.  Add-on aircraft, scenery, and utilities, - and increasing the aircraft and surface traffic - will bump up the RAM used by the software.  Get a VAS monitor (like the one in FSUIPC - I believe it is available in the free version) and you will get a better idea of how FSX utilizes the 4 GB of RAM that is available for its use.


Sim: Prepar3D 5.2 (main) and Microsoft Flight Simulator (2020), CH Eclipse Yoke, Thrustmaster Airbus TCA Side Stick, CH Pro Throttle, CH Pro Pedals, Saitek Cessna trim wheel, TrackIR 5, SPAD.neXt running 3 Saitek Logitech panels, ButtKicker Gamer 2, Razer Naga Chroma gaming mouse

System: Intel i5-10600K CPU @ 4.10 GHz, Nvidia GeForce RTX 2080 Ti, 64GB DDR4 RAM @ 4200 MHz, ASRock Z490M Pro4, 2TB Intel NVMe SSD 660p, 3 monitors

Share this post


Link to post
Share on other sites
4 hours ago, BF Bullpup said:

FSX is a 32 bit program and cannot use more than 4 GB of RAM

Please do not use the RAM.  RAM indicates your on-board memory and VAS has nothing, absolutely nothing, to do with on-board member other than it fetches instructions from your RAM.  You are allocated 4GB's of space on your hard drive for each 32-bit application.  See page 26, PMDG Intro Guide.  It has a full explanation of VAS.

Here's more info - https://en.wikipedia.org/wiki/Virtual_address_space


Jim Young | AVSIM Online! - Simming's Premier Resource!

Member, AVSIM Board of Directors - Serving AVSIM since 2001

Submit News to AVSIM
Important other links: Basic FSX Configuration Guide | AVSIM CTD Guide | AVSIM Prepar3D Guide | Help with AVSIM Site | Signature Rules | Screen Shot Rule | AVSIM Terms of Service (ToS)

I7 8086K  5.0GHz | GTX 1080 TI OC Edition | Dell 34" and 24" Monitors | ASUS Maximus X Hero MB Z370 | Samsung M.2 NVMe 500GB and 1TB | Samsung SSD 500GB x2 | Toshiba HDD 1TB | WDC HDD 1TB | Corsair H115i Pro | 16GB DDR4 3600C17 | Windows 10 

 

Share this post


Link to post
Share on other sites

So here is a small extract from the PMDG Guide regarding VAS.  There is more in their guide (also in the AVSIM CTD Guide under OOM's):

"VAS is effectively a preallocation of everything the simulator can potentially access during a flight and will fluctuate over the course of using the simulator as you fly between different areas. Note that VAS is *NOT* the same thing as the “virtual memory” swapfile that you can set the size of in the Windows system options–they are two very different things and having a large virtual memory swapfile does not protect you from the 4GB VAS limit. The mathematical limit itself comes from the definition of “32-bit”–a bit is the most basic data structure in computer science and it can have two values, a 0 or 1, which can mean all sorts of things like true or false, on or off, etc. This is why at the core a computer executes “binary” code. The amount of VAS a 32-bit process can access can be calculated by raising the number of possible values for each bit (2) to the power of the number of bits available (32). So 2/32 equals exactly 4,294,967,296 bytes (not bits). When you do the rest of the conversion math this value comes out to exactly 4 gigabytes of potentially addressable memory for a 32-bit process."
 
"The reason we recommend using a 64-bit operating system like Windows 7 64-bit is due to the fact that it can give Prepar3D.exe that entire 4GB block of VAS. In 32-bit Windows the default is a maximum of 2GB of VAS for P3D and 2GB reserved for the operating system. This can be increased to 3GB for P3D through an edit to the boot environment configuration (“the 3GB switch”), but this is still 1GB lower than you’ll get with the 64-bit version of Windows and it makes both OOMs more likely and OS crashes more likely because it reduces the amount of VAS the OS itself has to work with. 32-bit versions of Windows can also only ever access 4GB of total physical memory, so if P3D is using 3GB itself, there’s not much there for the OS and other applications. 64-bit Windows does not have this limit and with a lot of RAM you can essentially run as many other applications outside of P3D (browser, weather apps, flight planners etc) as you want with no effect on the system. There is literally no reason not to run the 64-bit version of Windows 7 on an P3D simming PC."

Jim Young | AVSIM Online! - Simming's Premier Resource!

Member, AVSIM Board of Directors - Serving AVSIM since 2001

Submit News to AVSIM
Important other links: Basic FSX Configuration Guide | AVSIM CTD Guide | AVSIM Prepar3D Guide | Help with AVSIM Site | Signature Rules | Screen Shot Rule | AVSIM Terms of Service (ToS)

I7 8086K  5.0GHz | GTX 1080 TI OC Edition | Dell 34" and 24" Monitors | ASUS Maximus X Hero MB Z370 | Samsung M.2 NVMe 500GB and 1TB | Samsung SSD 500GB x2 | Toshiba HDD 1TB | WDC HDD 1TB | Corsair H115i Pro | 16GB DDR4 3600C17 | Windows 10 

 

Share this post


Link to post
Share on other sites

They're using a very poor choice of words.

FSX doesn't preallocate or memory-map all potential resources; if it did then no one could run an FSX installation with more than 4GB of scenery. This is trivially supported by the fact that OOMs can occur late into a flight when the destination scenery is loaded, if it was all preallocated then you'd get an OOM right at the beginning and never again.

Preallocation, for what it's worth, is the right way to go. What excites me about 64-bit is that P3Dv4 should memory map everything into RAM. It might use 30-40GB of VAS, but the operating system is smart enough to swap the necessary resources in and out of physical RAM as needed. I'm curious to see if LM will eventually go down that road. The startup times might be nasty.

Cheers!


Luke Kolin

I make simFDR, the most advanced flight data recorder for FSX, Prepar3D and X-Plane.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...