Sign in to follow this  
Daveo

Memory Leak

Recommended Posts

I have an airplane with a memory leak. What is the best way to find out what is causing it and how do you stop it? I am using Vista home 32 bits.Dave

Share this post


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

No answer for you, Dave - just a dumb question: How can you tell when it's a memory leak? I have both the Flight1 MD80 and the Eaglesoft CitationII, and both have been cited on a number of posts as being memory hogs, with the odd OOM crash. As I understand it - this is caused by the way XP handles memory, and there are various (successful) ways to circumvent the issue with XP. Now - your running Vista, and I believe MS has altered its memory management method, so it shouldn't give an OOM. I know this is not what you say you're getting: I believe I've read of this (memory leaks) happening if you have .bgl's in the texture folders (if I remember rightly), and I've read of the odd aircraft having it, but "how do you know if it's got a memory leak?"

Share this post


Link to post
Share on other sites

A memory leak is by definition when a program doesn't release memory it was using and then ends up eating up more and more over time, since it can't access the already used (but not released) memory. Most of the time when people say they have a memory leak, it is NOT this. I can't even count how many times we've had people say our products for instance have "memory leaks" just because they see a high usage number or get an OOM error. High memory use is not a leak, increasing memory use that does not stop increasing and has no apparent reason for being so high could be indicative of one however.

Share this post


Link to post
Share on other sites

Within 2 minutes of using the plane I run out of memory. I have to restart FSX.Dave

Share this post


Link to post
Share on other sites

Dave,I think what people are wanting to know is this:* How much RAM do you have in your system?* How much free RAM do you have before you start using this plane (important, because your computer is likely doing other things with some of your RAM outside of FSX).* How much free RAM does the plane consume once you start using it.* Does the ram FREE up after you stop using this plane.You can use Task Manager to determine these facts.Merely running out of RAM because you used the plane doesn't necessarily indicate a "memory leak." (See excellent definition of "memory leak" above.)You may just not have enough free RAM to start with.

Share this post


Link to post
Share on other sites

>I have an airplane with a memory leak. What is the best way>to find out what is causing it and how do you stop it? I am>using Vista home 32 bits.>>DaveA memory leak is the gradual loss of available computer memory when a program (an application or part of the operating system) repeatedly fails to return memory that it has obtained for temporary use. As a result, the available memory for that application or that part of the operating system becomes exhausted and the program can no longer function. For a program that is frequently opened or called or that runs continuously, even a very small memory leak can eventually cause the program or the system to terminate. A memory leak is the result of a program bug.Some operating systems provide memory leak detection so that a problem can be detected before an application or the operating system crashes. Some program development tools also provide automatic "housekeeping" for the developer. It is always the best programming practice to return memory and any temporary file to the operating system after the program no longer needs it. http://i5.photobucket.com/albums/y156/awf1/sign.jpg

Share this post


Link to post
Share on other sites

a bit of useful info -which aircraft are you suspecting???--

Share this post


Link to post
Share on other sites

>Within 2 minutes of using the plane I run out of memory. I>have to restart FSX.>>>DaveBy any chance have you changed your bufferpool setting in the fsx.cfg file? I had a prob with that some time ago and lowering the bufferpool setting stopped it.The other DaveESSB

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