Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Memory leaks and how to find them

Featured Replies

I seem to have a memory leak in the area of the borders of Switzerland, France, Germany, Italy etc., in otherwords in or near the alps. I can run task manager while flying those areas and watch the memory dissapear so that in about 15 min. I've used up almost all my 2Gb. of physical memory and 2.5 Gb. of virtual memory (it's set for 4 Gb.), then things start coming to a halt...naturally. I really don't have any memory problems with the computer otherwise.Today I was running Filemon in this area to see if anything obvious came up there. Other than searching the world over for files the main thing I discovered it was putting lots of energy into searching VOZ files for some dumb reason, but I don't even know if that is related to memory. More interesting though, I took a phone call today when flying in that region, paused everything and noted there was about 1.2 Gb. of virtual memory in use at that point. I was gone about 15 min and even with FS9 paused it had escalated to 2.5 while I was gone and the computer was crawling.I live in N.A. and have seen most of N.A., as a consequence I love flying in Europe and have invested quite a lot in FranceVFR, Switzerland pro, Aerosoft German scneries etc. and this problem is driving me nuts. The region is probably the most scenery intensive in my FS9 installation so it's hard to pin down the culprit.Can anyone offer any advice on how I might track this "leak" other than seeing a urologist? A bell just went off in my head and I guess shutting down sceneries one by one and observing would be a good place to start but I don't think that will finally lead right to the real culprit. For some reason I have a feeling that starting with Switz. Pro airport might be helpful.Any and all constructive discussion and advice appreciated.

NesI've had over the years various problems with memory leaks.Unfortunately I don't think there is an easy answer but the issuecan be narrowed down and solved with some hard work and patience. Here is how I always start finding the culprit.Check if there are any duplicate AFCADsIf you already know roughly the areas where the problem occursthen back up your scenery.cfg and edit the original to include onlythose areas affected. (without deleting the default entries).Since you are likely to have to close and restart the sim a few timesit's worthwhile starting with a simple aircraft such as a Cessna.Place yourself at one of the airports, say in Switzerland and fly aroundfor a little while and watch your memory usage. If it starts to progressively increase, close down the sim and remove from your scenery.cfg anysceneries relating to Switzerland. Restart the Sim and place yourself at any airport in Germany andrepeat memory check, if memory still leaks do same as above andremove all German scenery. Continue doing this with each of thesuspected country sets until no memory leaks occur, at that point you will know that the previous set of loaded country sceneries contains the leak. Then it is a matter of loading the suspected country's sceneries and find the culprit by removing a couple of entries at a time and so on until leak dsiappears.The above method is what I've been using for sometime now and ithas always given me good results. The only exceptions to this werewhen some bgls caused problems in my Addon Scenerysceneryfolder, which by the way you should also check.Trust you find this of help.Regards

Joaquin Blanco

Intel Core i9-9900K at 5Ghz, Corsair Hydro H100i RGB PLATINUM CPU cooler, Asus ROG STRIX Z390-E,Motherboard, NVIDIA GeForce RTX 2080 Super 8GB GDDR6, G.Skill Trident Z RGB 32GB DDR4 3200MHz Memory, 500GB Samsung 970 EVO PLUS M.2 PCIe,2TB Samsung 860 QVO Solid State Drive, 2TB, 2 x Samsung 860 Evo 2TB, 1 x 1TB Samsung 860 Evo, Corsair RM650x 80 PLUS Gold 650W PSU.

 

 

 

I find the best way to uncover a memory leak is to take some dish detergent, mix with some water, and pour some of the soapy water onto the suspected leaking memory module.The leak will end up creating small little bubbles in the soapy water and you will know where to patch. Good luck!-Greg=-----------------------=Disclaimer: Author takes no responsibility for any damage that may occur to your computer from using this method. Real Attempt: As I recall, there was an autogen issue with FS9 that caused similar behaviour. It was repaired with a service pack some years ago. Did you install all the patches available for FS2004? As Joaquin says, also check for duplicate AFCADs... they are notorious for destabilizing FS2004. Good luck!

I think this is the same as the computer runs on smoke, when it leaks out it no longer works :)

Thanks for the response guys and the touch of humour is always welcome.I'm begiinning to think it has to do with AI traffic and or AFCADS/Swiss pro airports as by cutting traffic to zero and disabling the Swiss Pro airports I had a one hour flight with little loss of memory. Now I guess I've just got to continue to further eliminate the rascal. Sure hopes it Afcads/AI causing too much traffic or confusion but at least I;m making some progress.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.