Sign in to follow this  
Guest racartron

Possible Memory Leak?

Recommended Posts

Interesting observation. Got kicked out of FS9 because I ran out of Virtual Memory. I have 1GB RAM, so don't have a Vdisk, but have never had this problem before. Thought I'd check to see what was eating up my 1gb and FS9 was using 776mb of it. I've had FS9 on for a day or so, on pause, as I have a switch to go beween multiple computers, but that's still a lot of RAM for an application to be using. It must be using more and more over time...rgds,billg

Share this post


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

That is intriguing since I never seem to use over about 420 in my 1GB system. But that's with my typical flight duration of 45 minutes.Noel

Share this post


Link to post
Share on other sites

Something that really eats up my RAM amount (1 GB) is scrolling through especially aircraft from POSKY (could be others as well im sure). Running through 5-10 of them in the aircraft selection box munches up all the ram leaving about 50 MB or so free lol.Seems its texture loading that does it could be so in the other case mentioned.

Share this post


Link to post
Share on other sites

I use MaxMem to monitor my memory usage. Over flight time my 640MB would drop from 30% free to 10%. With MaxMem I can free locked memory back up to the 30% level in a couple seconds. I do have several other apps running concurrently that is normal for me.Before installing MaxMem I used to experience unexpected crashes and couldn't figure out why. Haven't had a single crash (from lack of memory) since I installed it several months ago.Not sure if FS is the sole cause but it sure is a big contributor.You can get MaxMem here: http://www.analogx.com/contents/download/system/maxmem.htmBTW, it's free.-------------------Racartronit means something, but I just can't remember what

Share this post


Link to post
Share on other sites

Racartron:I too have been experiencing CTD's with the error message, "Your computer has run out of available memory". I have 768MB but see by previous threads that even 1GB may not be enough. I tried your suggestion by installing MaxMem but I am not sure just where to set the percentage sliders for each of the three categories. Also, will this program increase memory, on the fly or do you have to go to windowed mode to manually activate it? I currently can not fly beyond 45 minutes ANYWHERE. Very frustrating.Thanks for any help you can provide.Chris

Share this post


Link to post
Share on other sites

That was a good question I would like to know about as well. I have 512MB of Ram and would like to use this. Another important question: Do you trust this company that is giving this software out. Do you suspect spyware? AND Has anyone else dealt with this software provider at a previous time? I sound really paranoid, but you should see how many Trojans and data gathering worms I've found while scanning my downloads and harddrive.:7

Share this post


Link to post
Share on other sites

I think part of the problem is the new Autogen. I did the 'Default.xml.bak' thing a while back for Framerate/stutter issues; but I've noticed that memory doesn't get gobbled up as fast now either. Could just be me though...

Share this post


Link to post
Share on other sites

I've heared that Windows always needs virtual memory, even if you have several gigabytes of free physical RAM. I had the same problem some years ago with FS2000 when I thought 512MB would be more than enough... Propably it was, but after creating an equally sized swap file I never had that problem again.Regards,Holger

Share this post


Link to post
Share on other sites

Yes, Windows XP must have a page file. (it's not a swap file anymore, it performs a different function differently). Turning off virtual memory in XP is a seriously flawed idea, don't know why it is still promoted.Leave XP to manage the page file, it does it better than ANY aftermarket utility.Allcott

Share this post


Link to post
Share on other sites

Scott, I hear you. I have one computer that is "dirty." I use it for browsing and misc. downloads. My FS9 comp only ever connects to flightsim or avsim or calclassic, sites like that, and I've never had a problem. But the dirty one is dirty. It runs win98 and I have to reinstall every few months to get rid of the junk on it. Argh...billg

Share this post


Link to post
Share on other sites

hmmm, I'll give it a go Allcott. Been a while since I had a page file. I'll let you know...billg

Share this post


Link to post
Share on other sites

Hi all,Hmmm, mighty interesting thread! I'm just 'burning in' my new rig (read later and weep), and I really thought 1 GB mem was enough...Well after 9.5 hours EKCH-KSEA in PSS A340 (real time, real weather), I got the dreaded out of memory message, just as ATC was moving me down to 5500 ft. BUMMER!Anyway, I have done some work with performance monitor: I show me going from 875 MB avail mem to 160 within the first hour. Of course, just starting FS9 brought it down to 438, and of course there is a lot going on in the first hour: Setting MCDU and all that, but still it leaves me with a measly 166 MB for the rest of the trip.I have now tried MaxMem, and doing an aggressive free, it got my memory up to 632...I'm still recording as I fly the same trip again, and I will let you know what I find. But one thing seems clear: A lot of memory gets committed in the beginning and is never freed (the 160 to 632). Whether that is PSS A340, wheather, FSUIPC or something else, I hope to find out.BRGDSSven Sorensen, EKCHWEEP:P4 3.0GHz on MSI 865PE NEO21 GB Dual Channel DDR RAMFSB 400 MHz2 x 120GB SATA RAID-1 Maxtor drivesand...Radeon 9800 XT/256MB

Share this post


Link to post
Share on other sites

Well after 9.5 hours EKCH-KSEA in PSS A340 (realtime, real weather), I got the dreaded out of memory message,>>BRGDS>Sven Sorensen, EKCHHi SvenThere is a long thread about this in the PSS forum as this problem seems to really affect PSS aircraft. Unfortunately they do not see it that way at this stage and are less than forthcoming with some helpful advice.ANZ121

Share this post


Link to post
Share on other sites

The Autogen bug shouldn't affect memory usage. The bug causes all autogen xml and vector objects to have a visibility setting of 30 miles, which is extreme, but once they get out of range, they are released.I remember something about having an incorrect directory structure for landclass scenery can cause memory leaks. You should not have a Texture subfolder for landclass scenery. I would clean up the install a bit and see if it goes away.Also, Windows 2000 and Windows XP needs a paging file or else you'll have problems.

Share this post


Link to post
Share on other sites

Wow! Quite an interesting thread. I posted a problem with FS crashing on me in this forum, but I thought it had to do with Video problems. Now after seeing this I'm sure it's memory (even though I've got 1Gb of RAM installed). I get the crash after switching from cockpit view, to spot plane view and back and forth a few times, it crashes the whole computer. Usually requires a boot. I just installed FS2004 a few days ago and didn't have this problem with FS2002. I flew the PSS 744 panel with the POSKY jets continuously. Now I'm flying POSKY with the default panel and (as Emeril would say) BAMM!! It goes out on me. Someone mentioned using XP to solve the problem, how can I do it? Or should I go after the other software?MickeyKLAS

Share this post


Link to post
Share on other sites

Man I don't know. I always have lots of free memory happening with 1GB of ram. Never touchs most of it, even in complex situations. I have even gone so far as to install a ramdisk to fool the system into NOT paging to a hard drive. I noticed no diff in FS performance, though more ram was used with this setup. Then again, I don't have lockups or crashes with FS, except for the CTD that is pretty much confirmed to be related to textures at certain times of the seaonal transitions. Come to think of it, I do have some odd issues with textures not loading on aircraft exteriors on occasion, which occurs if I've had the game running a while. I am hoping a 256mb video card will improve on this area. I'd like to see someone post a screenshot of have almost no free ram in a 1GB system using TaskMan.Noel

Share this post


Link to post
Share on other sites

I run a Radeon 9800 Pro with Turtle Beach Voyatera, and even with Catalyst 3.9 if I switch from Fullscreen to regular mode or dare to open menus too many times in full screen I get a semi-crash - sound disappears, frame rates drop to 2, and a full reboot is needed to get sound back. Exiting and reloading FS 9 does not bring back the sound. Soundcard diagnostics say the card is broken, but full boot brings everything back on line until the next time. Very frustrating.I can say this most recent time I had plenty of page file memory left.Greg

Share this post


Link to post
Share on other sites

Hi,Thanks for your reply. I've seen the thread(s) now, but I need to do some more testing before I will say it's a PSS problem only. That these beautiful aircraft use a lot of memory is only natural, however reaching into the GB range is a bit too much. But as I said, I need to do some more testing - it could also be a combination of scenery and the 'bus, especially since I run it in 1600x1200x32.Will keep you postedBRGDSSven Sorensen, EKCH

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