Jump to content

Sign in to follow this  
Petraeus

Version 2.1 OOM and possible memory leak.

Recommended Posts

Following Tom's suggestion that we split out individual issues with 2.1 into separate posts, I'll provide my observations on a possible memory leak here. I've also posted details on the LM forum. 

 

We all know that OOMs can be triggered by a combination of complex airplanes and airport sceneries. However what I'm seeing happens when flying over the treescapes of northern Canada. With any setting of the vegetation autogen slider greater than 'none', and at a height where vegetation is visible, I can watch the free VAS counter gradually decrement, eventually leading to an OOM. When I set the slider to 'none', the free VAS remains static. My conclusion is that there is some sort of memory leak when there is visible vegetation autogen.

 

I've also tested this, in exactly the same conditions, with version 2.0, and free VAS remains rock solid constant, and so it does seem to be a problem unique to 2.1. I'm using FTX Global vegetation, but another poster in this forum reported the same problem with default vegetation, so the vegetation type does not seem to be a factor. Neither is the setting for buildings, it's just a problem with vegetation.

 

It's a shame, because for me 2.1 is better in most other respects. Unfortunately, in the software world, it can often be 'ten steps forward, one step back'.


Petraeus

 

Share this post


Link to post

Hi,

 

I can support your observation from flying over ORBX IRL. Observed VAS via Process Explorer.

 

Kind regards, Michael


MSFS, P3D Professional 5, AeroflyFS2, XP11; Beta tester of SimStarter, SPAD.neXt, and FS-FlightControl

Intel i7-6700K 4.0 GHz / Asus MAXIMUS VIII RANGER / Kingston 32 GB DDR4 / Samsung SSD M.2 500 GB + Samsung SSD 1 TB + Intel SSD 500 GB + WD HD 6 TB / EVGA GTX 1080Ti 11 GB / LG 34UM95 3440 x 1440 /  XTOP/Saitek hardware panel / HP Reverb / Win 10/64

 

 

Share this post


Link to post

I too noticed what I thought was memory leakage. In my first flight, VAS was at about 1.5GB while sitting in the default King Air (with my own panel) at an Ottawa gate. When I flew around the CYOW airport, VAS usage steadily increased. By the time I landed and returned to the same gate (a 30-minute flight), VAS had increased to 3GB (well shy of 4GB, but still significant); I had expected VAS to return to 1.5GB. Not a good sign.

 

However, I took the same aircraft from Ottawa to Toronto (about a 1-hour flight), with the same results (no OOM!). That is, VAS steadily increased to 3GB and then stabilized. So I'm wondering if flying around the scenery causes the VAS to increase until it has enough scenery stored. So far, after 3 flights, VAS behaviour has been the same. My scenery is augmented by FTX Global and FTX Global Vector.

 

On my next attempt, I will fly an Airbus A319 to Chicago with FS Commander and REX3, and see what happens. If that works, I will then fly to KLAX.

 

So far P3Dv2.1 has been outstanding. I see none of the problems that have been plaguing others. Even though I have old equipment (i7-2600 @ 3.4GHz (not OC'ed) with 16GB RAM, and a 560Ti GPU with 1.25GB VRAM), I have my sliders pushed mostly to the right with building and sim-object shadowing set to medium. I set my AffinityMask to 14 (leaving CPU 0 free) and forced fps to 35 (unlimited gives me about 50 fps.

 

Although I had OOM's after my first 2.1 update (forgot to delete LM files), the proper re-installation resulted in great performance. This is really exciting. I wish everyone else could also be excited.

 

Frans Kes

Share this post


Link to post

OOM's definetly come when vegetation slider is  greater 0. Just completed a flight with the AXE, Orbx EU, opus and UK2000 EGLL into EGLL with VAS at 3.1 and NO OOM


Carsten U

Share this post


Link to post

LM is losing it

 

I posted in their forums that with the state of OOM as is the sim was useless to me.

 

Not vulgar, just to the point

 

They deleted the post, and there seems to be very few negative postings there.

I wonder why?

 

al


                 MSFS2020 now RULES the SKIES

                                                  Allen  Lavigne    in   Canada

 


 

Share this post


Link to post

I agree with the OOM analysis. I am seeing the same thing. The memory used just rises continuously even though I am flying low and slow I the countryside.

Share this post


Link to post

Has a memory leak with V2.1! its not the sim.

I know but without vegetation i can use it. Even the standard p3d airplanes caused oom's but after setting vegetation to 0 i can fly with them too without oom

Share this post


Link to post

So Lockheed Martin lied when they said that Prepar3D 2.0/2.1 efficiently releases memory when you fly to another area?

Share this post


Link to post

Has a memory leak with V2.1! its not the sim.

Has this been confirmed by Aerosoft? Can't find anything that suggests that on their forum. Could you please post a link?

Share this post


Link to post

 

 


I know but without vegetation i can use it.

 

Not really, your just freeing up initial VAS atherefore delaying the inevitable. I can get about 2 1/2 hrs out of the AXE until it gobbles up all VAS. Perhaps by lowering AG you'll get 2.75. Its inevitable. So, not the sim.

Share this post


Link to post

So Lockheed Martin lied when they said that Prepar3D 2.0/2.1 efficiently releases memory when you fly to another area?

 

In business terms that is not a lie but a misspeling....

 

Thats all really, they meant to say "otherwise" by "someone" in "elsewhere"


                 MSFS2020 now RULES the SKIES

                                                  Allen  Lavigne    in   Canada

 


 

Share this post


Link to post

Has this been confirmed by Aerosoft? Can't find anything that suggests that on their forum. Could you please post a link?

Park the Airbus at any aiport in the world and just leave it set. Use a VAS monitor and watch it count down. 2 to 21/2 hour everytime! Ive experimented with No weather, no Ag etc. It still gobbles up all VAS. Its the only aircraft I have found that does it it but I wouldnt be surprised if there are others. LM has changed something in V2.1 thats causing this as I never saw it in 2.0. I left a message @ AS

Share this post


Link to post

Park the Airbus at any aiport in the world and just leave it set. Use a VAS monitor and watch it count down. 2 to 21/2 hour everytime! Ive experimented with No weather, no Ag etc. It still gobbles up all VAS. Its the only aircraft I have found that does it it but I wouldnt be surprised if there are others. LM has changed something in V2.1 thats causing this as I never saw it in 2.0. I left a message @ AS

 

I think he is right. I saw the same concerning VAS. Only thing ist that this AXE "behaviour" was the same for me in 2.0 too....

 

But as i said without vegetation VAS seems to stay more stable. Will test later on how many flights i can do with this setup until i get the next OOM

Share this post


Link to post

 

 


"behaviour" was the same for me in 2.0 too.

 

That could very well be. I only had 2.0 for a week and never tested it.

Share this post


Link to post

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

    AVSIM's 2020 Fundraising Goal

    Donate to our annual general fundraising goal. This donation keeps our doors open and providing you service 24 x 7 x 365. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. We reset this goal every new year for the following year's goal.


    31%
    $7,750.00 of $25,000.00 Donate Now
×
×
  • Create New...