Sign in to follow this  
Gregg_Seipp

Anyway to force FSX to give up some VAS?

Recommended Posts

I've been playing in a really nice scenery which is fairly heavy on VAS.  When I fly away from it, I'd have thought that it would, eventually, free up the VAS for it but it seems to camp out on the memory, holding on to it.  Any action I can take to get it to release some of it back?

 

 

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Gregg, which aircraft?  I have found on some of my very heavy VAS hogs (ConcordeX, PMDG) that on a longish flight I can save the situation and restart FSX to reset the VAS back to a high level.  It is a pain for sure but it takes about 2 minutes and everything goes back to normal with the flight.  On other aircraft like the Aerosoft Airbus there is no such save function so you are out of luck.  Other than this I don't know of any way to get back VAS other than to start off with consuming less of it.....lower sliders and reduce LOD.

Share this post


Link to post
Share on other sites

Aircraft really isn't germane to the issue, though, I fly GA more than anything.  I'd like to fly the area with any airplane.

Share this post


Link to post
Share on other sites

Do you use SceneryConfigEditor to turn off all scenery you don't require ?  I would be interested in what GA plane and which airports cause and OOM.  I can fly ConcordeX from UK2000 EGLL to FSDT KJFK and not get the OOM with my setup so I think this should be possible with almost any GA plane.

Share this post


Link to post
Share on other sites

Do you use SceneryConfigEditor to turn off all scenery you don't require ? I would be interested in what GA plane and which airports cause and OOM. I can fly ConcordeX from UK2000 EGLL to FSDT KJFK and not get the OOM with my setup so I think this should be possible with almost any GA plane.

 

It's Flight1 Xtreme Cities SouthCentral.  There are about 10 cities and they are beautiful (the screenshots on their product page don't do them justice).  It's only the Dallas area where I run into problems.  I am running FTX Global/Vector and it may be too much (or something in my settings I haven't uncovered.)  The rest are a joy to fly around...Galveston, Corpus Christi, Tulsa, Oklahoma City, Little Rock, Baton Rouge, Austin, San Antonio and a couple more...just wow.  I'm flying the Turbine Duke, Flight1 Mustang, Carenado Malibu Mirage.

 

I'll get SceneryConfigEditor and try it out. 

Share this post


Link to post
Share on other sites

I am convinced FTX Global/Vector has bugs in it that eat up VAS. Also OpenLC when added, no matter where you fly their textures are being searched. I am thinking about going back to UTX USA/Canada/Europe

 

I have disabled all scenery except my departure and arrival airports, and I still cannot complete some flights without getting oom errors when flying the pmdg 777.

Share this post


Link to post
Share on other sites

A quick way is to minimize to the taskbar for a few seconds then expand again, but the best by far is to save and quit FSX, then restart. Quick and easy. 

 

I usually save flights every 20 minutes or so anyway, simply by leaning across to the keyboard, pressing ; then 1 1 then Enter. Saving takes 3 seconds and I know that my current flight is always saved as '11'. I don't get OOMs anymore now that I switched to DX 10, but its a habit I still have. On longer haul airline flights I used to save and exit at the top of climb, then save and exit at the top of my descent. These days I just remember to save. 

Share this post


Link to post
Share on other sites

The easiest way to free some VAS in FSX is to temporarily switch from windowed mode to full screen and back or vice-versa. There's no need to restart FSX.

Share this post


Link to post
Share on other sites

I use CleanMem, it cleans up unused memory as often as you want and I dont see any side effects from it in my sim.

Share this post


Link to post
Share on other sites

I am convinced FTX Global/Vector has bugs in it that eat up VAS. Also OpenLC when added, no matter where you fly their textures are being searched. I am thinking about going back to UTX USA/Canada/Europe

 

I have disabled all scenery except my departure and arrival airports, and I still cannot complete some flights without getting oom errors when flying the pmdg 777.

 

Me to. There's a video on youtube that very nicely shows FTX Vector enormous use of VAS. 

 

Anyways, the save and quit option is of course the most efficient one. But it doesn't play well with VATSIM or other online flying, unfortunately. 

Share this post


Link to post
Share on other sites

I use CleanMem, it cleans up unused memory as often as you want and I dont see any side effects from it in my sim.

Does it actually free up VAS though?

Share this post


Link to post
Share on other sites

 

 


I am convinced FTX Global/Vector has bugs in it that eat up VAS. Also OpenLC when added, no matter where you fly their textures are being searched. I am thinking about going back to UTX USA/Canada/Europe

 

I have Global, Vector and OpenLC and have never had an OOM. All scenery except for photoscenery gets loaded into FSX no matter where you are located.

Share this post


Link to post
Share on other sites

I took a shot at disabling some scenery OpenLC Europe and two of my large airports (I don't have many installed).  Didn't seem to make any difference at all.  Framerates and VAS usage seemed to be the same.  I'll have to do some more testing.

Share this post


Link to post
Share on other sites

I took a shot at disabling some scenery OpenLC Europe and two of my large airports (I don't have many installed).  Didn't seem to make any difference at all.  Framerates and VAS usage seemed to be the same.  I'll have to do some more testing.

 

No, try Vector.

Share this post


Link to post
Share on other sites

Pondering this issue, I'm wondering if FSX DX9 is holding autogen and hand placed scenery objects in separate pools.  It cleans up autogen when it isn't needed but doesn't clean up the hand-placed stuff, leaving it to hold onto memory until shutdown. 

Share this post


Link to post
Share on other sites

In vector I needed to turn off secondary and tertiary roads.  It really made very little difference visually but added lots of frames and probably some VAS.

Share this post


Link to post
Share on other sites

Does it actually free up VAS though?

 

I'm not sure it works directly on VAS, it cleans the memory of unused items and frees up quite a bit of memory and I think this indirectly affects VAS as well.

Anyhow, since I've been using it, I havent even come close to any OOMs, even when I start a flight with 3.7GB used RAM in memory heavy areas. Used memory only drops from there instead of going up and after, say 20mins flight I'm well below 3GB.

 

I tried apps like this before and they all made problems in the sim and when I found CleanMem I didnt think it would be any better, but gave it a try anyways. It seemed to work so I left it on my system, but at the time I hadnt much time to dive into it and I actually mostly forget it's on my system, so I still have to get into the details of it. :P

Share this post


Link to post
Share on other sites

I'm not sure it works directly on VAS, it cleans the memory of unused items and frees up quite a bit of memory and I think this indirectly affects VAS as well.

After reading this: http://www.pcwintech.com/about-cleanmem I do believe you've captured the salient point. While CleanMem does not address the VAS table directly, by freeing up portions of memory no longer being used (instead of sending it to the page file), it also frees up the relevant portions of the VAS table, since those addresses are no longer required.

 

What surprised me though is that CleanMem only calls on a standard Windows API to do the actual work. Hence there's no risk of damage caused by crappy kludge programming (unless it's Microsoft's crappy kludge programming of course)... :LMAO:

Share this post


Link to post
Share on other sites

From the article and description I gave a link to, it is clear that it cannot hurt anything, so it's safe enough to test out. Also, being totally free it is definitely a "no risk" affair.

Share this post


Link to post
Share on other sites

Hmmm...when I try to download it, Chrome flags it as malware and blocks it.


Hmmm...when I try to download it, Chrome flags it as malware and blocks it.

Well, Firefox let it through...if that's a good thing :P.  Seems okay.  I told it to clean up memory...VAS usage stayed the same...but we'll see.

Share this post


Link to post
Share on other sites

The one thing I'll say about Cleanmem is that I get an stutter in my sound when it runs. 

Share this post


Link to post
Share on other sites

Thanks for the explination, Bill. :)


The one thing I'll say about Cleanmem is that I get an stutter in my sound when it runs. 

 

Weird, I havent noticed anything at all, no stutters in the sim, like every other memory cleaner I tried so far did and also no sound issues.

Did you check if the task it creates in Task Scheduler is setup right? I had to turn on the Win7 mode manually and adjusted some items to my personal likings.

Share this post


Link to post
Share on other sites

Has anyone done the obvious thing and used VMMAP to actually check what CleanMem does?

 

EDIT

 

i've seen it said that CleanMem uses  "Windows API to compact processes in memory.". Which API(s)?

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