Hoang

Memory leak very fast

Recommended Posts

Hi,
I posted earlier in PMDG forum but in case it is not from PMDG, I want to post here to get more help.

TLDR version: Did a flight from Tokyo Narita RJAA to San Francisco KSFO yesterday, got OOM, load it again from Pro-ATC/X autosave but keep getting OOM (loaded when at cruise, still get OOM), after the 3rd time I gave up and do another flight today.

Took off at 1.3GB and during climb went up to 1.45GB. Now 45 minutes into the flight and available memory going from 1.45GB down to 400MB now as I type (dropping 200MB every 10 minutes).
I am using the latest driver from nVidia which never had any trouble with it, I tried other flights with PMDG 777 and FSLabs A320X without any memory leak. Something is very unique on this flight.

Tried with other nvidia driver still the same result.
What I am planning to do: do another long haul tonight, from Taipei to San Francisco.

Any help or suggestion would be really appreciated.

Thank you,
Hoang Le

Share this post


Link to post
Help AVSIM continue to serve you!
Please donate today!

The latest Nvidia drivers have been reported to cause OOM's for many, not all users. The consensus seems to be that going all the way back to 376.33 version is the way to go if you have OOM issues.

Vic

  • Upvote 2

Share this post


Link to post

Like they said, 376.33 is the only driver that does not have this memory leak. Also turn off shadercache in Nvidia Inspector for the FSX/P3D profile

  • Upvote 1

Share this post


Link to post
18 hours ago, vgbaron said:

The latest Nvidia drivers have been reported to cause OOM's for many, not all users. The consensus seems to be that going all the way back to 376.33 version is the way to go if you have OOM issues.

Vic

 

8 hours ago, sultanofswing said:

Like stated go all the way back to 376.33.

 

2 hours ago, 777200lrf said:

Like they said, 376.33 is the only driver that does not have this memory leak. Also turn off shadercache in Nvidia Inspector for the FSX/P3D profile

It is not the driver for sure because I have been using it since the day it came out without any problems. I'm doing a long haul flight almost 10 hours my VAS has been very stable. Around 1GB.
I have turn off the shadercache

Could it be scenery fault even if I don't fly into it?

Share this post


Link to post

See if this helps you identify where the problem is...

 

Share this post


Link to post
31 minutes ago, Nuno Pinto said:

See if this helps you identify where the problem is...

 

Thank you so much I will use it right away. Fantastic tool.
Cheers,
Hoang Le

  • Upvote 1

Share this post


Link to post
Just now, 777200lrf said:

If it is not the driver try looking for duplicate AFCAD bgl files. A free scanner will show you if you have duplicates from other scenery or if the duplicates are just one afcad bgl file and one approach or altitude bgl file:  http://www.scruffyduck.org/simple-airport-scanner/4584282795

 

Thank you, I am finishing my current fly, will use it right away when I'm done.

Cheers,
Hoang Le

Share this post


Link to post
41 minutes ago, 777200lrf said:

If it is not the driver try looking for duplicate AFCAD bgl files. A free scanner will show you if you have duplicates from other scenery or if the duplicates are just one afcad bgl file and one approach or altitude bgl file:  http://www.scruffyduck.org/simple-airport-scanner/4584282795

Also just try going back to 376.33 and fly that problem flight again.

Nice, this looks useful.

Share this post


Link to post
46 minutes ago, Hoang said:

Thank you so much I will use it right away. Fantastic tool.
Cheers,
Hoang Le

Welcome Hoang.

Share this post


Link to post
43 minutes ago, 777200lrf said:

If it is not the driver try looking for duplicate AFCAD bgl files. A free scanner will show you if you have duplicates from other scenery or if the duplicates are just one afcad bgl file and one approach or altitude bgl file:  http://www.scruffyduck.org/simple-airport-scanner/4584282795

 

Indeed there is a duplicate! Will test later with that same route.
Thank you,

Hoang Le

Share this post


Link to post
7 hours ago, Hoang said:

Indeed there is a duplicate! Will test later with that same route.
Thank you,

Hoang Le

What are the duplicates? Sometimes a scenery developer has 2 bgl files that show up for the same airport, such as altitude adjustment or approach bgl files. Make sure the duplicate is from another scenery afcad, such as Taxi2Gate VHHH but also an afcad file for VHHH in your addon scenery\scenery folder. This is not talked about often but duplicate afcad files in my opinion cause high vas usage and oom. If you have FTX Vector run the airport scanner tool after installing new scenery also.

Share this post


Link to post
1 hour ago, 777200lrf said:

What are the duplicates? Sometimes a scenery developer has 2 bgl files that show up for the same airport, such as altitude adjustment or approach bgl files. Make sure the duplicate is from another scenery afcad, such as Taxi2Gate VHHH but also an afcad file for VHHH in your addon scenery\scenery folder. This is not talked about often but duplicate afcad files in my opinion cause high vas usage and oom. If you have FTX Vector run the airport scanner tool after installing new scenery also.

It is a duplicate AFCAD and to my surprise it's from Narita airport where I start my OOM flight. I always run FTX Vector and reimport AIRAC for ProATC everytime I add/delete scenery.

I will test later today with this route.
Thank you so much for your help,
Hoang Le

Share this post


Link to post

Hi,
I deleted the duplicate AFCAD, still have OOM. I de-active the Tokyo airport, still OOM.

My available memory went from 1.6GB to OOM in about 3 hours.

And it happens to only this route RJAA - KSFO, and in the middle of the ocean, what is going on!

 

Share this post


Link to post

Did 3 test today. There's something wrong with PMDG 777 and KSFO. Flew KIAH - KSFO with PMDG 777, OOM. Try again, OOM. Try another route KIAH-KLAX and it is going fine.

And OOM happens around 2-3 hours into the flight, nowhere near San Francisco KSFO.
Using Flightbeam KSFOHD.

Will test later with FSLabs to see.

Hoang Le

Share this post


Link to post

Yes, have the same issue EHAM-KSFO with newest Nvidia drivers. P3D crashed about 3 times from EHAM to KSFO on the way there and 2 times on the way back with the 777. A long time VAS was at 72% and suddenly it jumps to 94% on some ocean location with nothing else there, no AI and good weather. But also if it doesn't suddenly jump, there is a steady vas increase which results in an OOM after 2-3 hours.

This is a Royal Dutch Virtual logging screenshot, every vertical line is a OOM crash where I restarted P3D and their logging tool:

EHAM > KSFO

Screen_Shot_2017_04_20_at_07_05_38.png

KSFO > EHAM

Screen_Shot_2017_04_20_at_07_05_45.png

 

Share this post


Link to post

Hi,

Thank you for the detail report there. Have you found the cause of this yet? It seems that does not matter where the airplane is, as long as KSFO is programmed into the aircraft. The VAS will increase until P3D crashes.

Do you have PMDG 747 that you can test? I only have PMDG 777 in my P3D setup, when I flew earlier with FSX I didn't have any problem at all, both 777 and 747.

For now I have to stay away from KSFO.

Hoang Le

 

Share this post


Link to post

Haven't found the cause yet, first time I saw it like this bad. I did remove KSFOHD from the scenery (with sceneryconfigeditor) when reloading after the first OOM when flying back to EHAM. Also difference between the two flights (apart from direction) is that they're a week apart and that I set water to Medium for the second flight. For the first flight it was set to High. Maybe it reduced the buildup, but still OOMed halfway across the ocean with pretty much nothing going on. Also almost constant in-cockpit and no opening of 2D panels as I use an iPad mini for the FMC.

I do have the 747, so I will try it when I get back from work in about 12 hours. Can't track this one on RDV as it simulates real flights, but I will try to track and annotate on projectfly map.

 

Btw, I used OpenLC America and Europe, Orbx NorCal, Active Sky 16 + ASCA, ENVTEX clouds, Flytampa EHAM, Flightbeam KSFOHD.

Share this post


Link to post
6 minutes ago, KenVerburg said:

Haven't found the cause yet, first time I saw it like this bad. I did remove KSFOHD from the scenery (with sceneryconfigeditor) when reloading after the first OOM when flying back to EHAM. Also difference between the two flights (apart from direction) is that they're a week apart and that I set water to Medium for the second flight. For the first flight it was set to High. Maybe it reduced the buildup, but still OOMed halfway across the ocean with pretty much nothing going on. Also almost constant in-cockpit and no opening of 2D panels as I use an iPad mini for the FMC.

I do have the 747, so I will try it when I get back from work in about 12 hours. Can't track this one on RDV as it simulates real flights, but I will try to track and annotate on projectfly map.

 

Btw, I used OpenLC America and Europe, Orbx NorCal, Active Sky 16 + ASCA, ENVTEX clouds, Flytampa EHAM, Flightbeam KSFOHD.

What are your P3D and video driver versions?

Thanks, 

Dirk

Share this post


Link to post
37 minutes ago, KenVerburg said:

Haven't found the cause yet, first time I saw it like this bad. I did remove KSFOHD from the scenery (with sceneryconfigeditor) when reloading after the first OOM when flying back to EHAM. Also difference between the two flights (apart from direction) is that they're a week apart and that I set water to Medium for the second flight. For the first flight it was set to High. Maybe it reduced the buildup, but still OOMed halfway across the ocean with pretty much nothing going on. Also almost constant in-cockpit and no opening of 2D panels as I use an iPad mini for the FMC.

I do have the 747, so I will try it when I get back from work in about 12 hours. Can't track this one on RDV as it simulates real flights, but I will try to track and annotate on projectfly map.

 

Btw, I used OpenLC America and Europe, Orbx NorCal, Active Sky 16 + ASCA, ENVTEX clouds, Flytampa EHAM, Flightbeam KSFOHD.

Thanks, looking forward to your test on the 747. I am flying the PMDG 777 as much as I could with different routes to test and for now, only the routes that relate to KSFO have OOM. In the beginning I thought other scenery was involved but it wasn't.

 

Share this post


Link to post

 

5 hours ago, Dirk98 said:

What are your P3D and video driver versions?

Thanks, 

Dirk

P3D hotfix 3 with 381.65. 980ti btw.

I ran the holy grail 376.33 driver for a long time, I did not try the 777 and KSFO with that yet. But since I don't have a lot of problems with this driver in other locations and saw encouraging info from amongst others Hoang I kept the latest version installed.

Share this post


Link to post

The 777 has a vas leak if you program your arrival and with an approach transition and certain ILS approaches. Try not programming your arrival until right before TOD.

Share this post


Link to post
7 minutes ago, 777200lrf said:

The 777 has a vas leak if you program your arrival and with an approach transition and certain ILS approaches. Try not programming your arrival until right before TOD.

Ah, I programmed the arrival at EHAM indeed. That could be something to test.

Share this post


Link to post
1 hour ago, 777200lrf said:

The 777 has a vas leak if you program your arrival and with an approach transition and certain ILS approaches. Try not programming your arrival until right before TOD.

 

1 hour ago, KenVerburg said:

Ah, I programmed the arrival at EHAM indeed. That could be something to test.

Hi,

I heard about that one too but most of the routes I fly, I put it in FMC without any memory leak, do you know which approach that people having the leak? I want to test it.

With the routes relate to KSFO that I had OOM, I tried both putting the ILS into FMC and not putting, still have the OOM.


I am currently enroute from Frankfurt EDDF to Kennedy KJFK, it has been 6 hours into the flight and I only drop around 50-100MB, from 1GB to 950-900MB, but probably because of having heavy clouds underneath right now, in the beginning it was sky clear all the way to the horizon. I program KJFK ILS 31L  into the FMC since preflight.

Yesterday I did Houston KIAH to Los Angeles KLAX and also program the transition + ILS 25R at KLAX into FMC since beginning, after took off I had 1GB available memory and at cruise it increased up to 1.1GB and stable all the way to Los Angeles area.

 

Hoang Le

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