UK2000 Scenery Forum
May 22, 2013, 06:12:02 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: 1 [2]
  Print  
Author Topic: Out of Memory Message  (Read 4732 times)
Liam Riley

Offline Offline

Posts: 57


« Reply #15 on: February 20, 2010, 11:54:29 AM »

The textures arnt that different, no major diff, but theres a few noticeable things like white static AI, but im gonna re install it, and not eneable animations and see if that works
Logged
Liam Riley

Offline Offline

Posts: 57


« Reply #16 on: February 20, 2010, 12:17:49 PM »

OK ive re installed the origional textures, but ive disabled all animation (roads, airside, airside crew) and upped my virual memory by 20mb.

im doing VABB-EGCC (23R app) and ill post what happens when i land

liam
Logged
Mark Mylchreest

Offline Offline

Posts: 77


« Reply #17 on: February 20, 2010, 04:21:50 PM »

I have upgraded my OS to Win 7 64bit and that seems to have sorted the OOM issue. It was great coming in to land on 5L and seeing the airport in the distance with so much detail! Grin
Logged
Liam Riley

Offline Offline

Posts: 57


« Reply #18 on: February 20, 2010, 09:18:52 PM »

Ok, just did VABB-EGCC (4000-ish nm, 9 hours 30 mins) and landed at egcc with no CTD, all i did was disable animations and up my virtual memory by 20mb

so all i can say for the time being, all is fine =) if i need to reduce the textures i will, cheers for the help Gary

regards

liam
« Last Edit: February 21, 2010, 01:02:29 AM by Liam Riley » Logged
Gary Summons
Administrator
*****
Offline Offline

Posts: 6565


« Reply #19 on: February 21, 2010, 08:41:20 AM »

Virtual memory should match your physical memory, or windows may have a problem with swapping. So if you have 2GB, then your virtual should be 2GB, a 20mb change is unlikely to have any effect.
Logged

Paul Solk

Offline Offline

Posts: 38


« Reply #20 on: February 21, 2010, 09:53:39 PM »

Hey Gary,
This actually has nothing to do with the Pagefile or Swapping or Physical Memory, it is a 32 bit OS issue.  In fact the best thing you can do is to leave Virtual memory as System Managed.  Ideally, you should not have the Pagefile and your OS on the some HDD as it could cause excessive paging.  The best thing you can do is to use a separate HDD on a separate controller to your Pagefile altogether to really optimize your system if you are an ubergeek like myself...   Roll Eyes

With that being said this issue has nothing to do with any of that.  I am willing to bet a lot of money that all of the users who are reporting OOM errors with FS9 or FSX or either:  
A.  Running a 32 Bit OS
B.  Running a 64 Bit OS with FS9 without modifying the .exe to be largeaddressaware.

So you have 3 possible steps to fix the OOM error once and for all.
1.  Modify your FS9.exe to be largeaddressaware (FSX did this automatically after SP1)
2.  Modify your 32 Bit OS's Boot.INI file to set the /3gb aware flag
3.  Install a 64 Bit OS (The best move you will ever make as a simmer)

Regardless of going with 2 or 3 you will need to do number one...
For more information:
http://www.fsdeveloper.com/wiki/index.php?title=OOM_Error

For detailed instructions:
The instructions below reference WinXP, Vista is different

The two steps are below. Remember, you do this at your own risk. Also do searches on the Avsim forum for "/3GB switch", "OOM", and "Memory" to learn more. And search google for "/3GB switch" and "/userva" and you'll find the Microsoft technet pages all of this in nauseating detail.
________________________________________________________________
STEP 1 -
Here's how to enable the 3GB switch (Copied from Michael Swannick):

Adding the 3GB switch is very simple. You first need to locate your machines Boot.ini file which should be located in the root of your main system drive. (Be aware that this file may be hidden and marked as read-only initially.) You will want to open this file in a program such as Notepad to edit it properly.

To safely add the 3GB switch we recommend adding a second instance of the OS in the boot.ini, and add the /3GB switch to that second version.

----- default boot.ini without 3GB Switch -----

This is what a default boot.ini file will look like. (This may differ from system to system.)

timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Pro"

----- updated boot.ini with 3GB Switch -----

This is what the updated version should look like. Notice the /3GB that has been added to the second instance of the OS line.

timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Pro"
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Pro with /3GB" /3GB

And if you have a 512MB or greater video card, you'll need to add the /Userva=?Huh also. I have a 512MB card, and 2900 works for me so:
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Pro with /3GB" /3GB /Userva=2900

256MB /userva=3072 (ie, 3GB)
512MB /userva=2816
768MB /userva=2560
1024MB /userva=2304

Once you have updated your boot.ini file accordingly and have saved the changes, simply restart your system for the changes to take affect. When your system reboots you will be given the option to choose either the standard Windows XP version or the 3GB switch enabled Windows XP version. If you choose the 3GB version and it fails to allow Windows to properly load, just restart your system and you will be given the two options once again, where you can then choose the standard Windows XP version to load. Either way, if it works or doesn't, you can then remove whatever line you don't need in the boot.ini file. Alternately, you may wish to leave both settings so that you can choose to boot without the 3GB switch should you ever have problems with drivers installed in the future. The boot loader will default to the first option listed in the file. So you may want to put the /3GB option first. You may also wish to lower the timeout value to something quicker so that you don't have to wait for 30 seconds or press enter with each boot.

__________________________________________________________________
STEP 2 -
Now to modify to the fs9.exe (thanks to Markus and Stu):

Try this only if you have at least 2 GByte of RAM and at your own risk.

First download the explorer from http://www.ntcore.com/exsuite.php

Next make a copy from fs9.exe. Than start "CFF Explorer" and open the orginal fsx.exe file.
Now go to NT Header/File Header and click File Header. Ther you find a button labeld "click here". Click it. And select the mark at "App can handle> 2gb adressest "
Save the modified EXE, overwrite the orginal one (You have youre copy saved?).

Following the above procedures will fix the OOM error on 32 bit OS's as a band aid as I stated above but to REALLY REALLY CURE the ROOT CAUSEYou Must Move to a 64 bit OS Once and For All You sill still need to do step number 2, but you don't have to worry about ANY of the Boot.ini garbage and your machine can now see and use more memory more efficiently...
32 bit OS's are dead...

Tada  Wink Grin
Paul Solk
« Last Edit: February 25, 2010, 01:54:22 PM by Paul Solk » Logged
Gary Summons
Administrator
*****
Offline Offline

Posts: 6565


« Reply #21 on: February 22, 2010, 08:32:18 AM »

Thanks for the detailed Info Paul
Logged

Paul Solk

Offline Offline

Posts: 38


« Reply #22 on: February 22, 2010, 01:28:05 PM »

My pleasure Gary, just hope it helps someone Smiley
-Paul
Logged
Tony Madge
BETA Tester
*
Offline Offline

Posts: 342


« Reply #23 on: February 25, 2010, 01:05:20 PM »

Great article Paul, however this worries me
Quote
requires that every device and driver on your system be fully WinXP compatible in order to work at all

I wonder how many of us have drivers that do not have this certificate?? Its easily done... I wonder if there is away to find out if all your drivers are digitally signed??
Logged



AMD Phenom II X2 550 (4 cores) 3.10GHz @ 3.60GHz
Gigabyte GA-MA770T-UD3P Motherboard
Corsair Dominator 4GB DDR3 XMS3 PC2-1600C9 Ram
Gainward GTX 260 896MB 2200MHz GPU 625 MHz 216 Cores
3x SATA H/Ds
XP sp3
FS9
Paul Solk

Offline Offline

Posts: 38


« Reply #24 on: February 25, 2010, 01:52:01 PM »

Great catch Tony...
The original Author must have had that line in there and I missed it when editing.  There is NO WAY every driver on my system is digitally signed and it never made a difference.  I will see if I can still edit it out but I don't agree with that particular statement...
Cheers,
-Paul
Updated the post and added additional values for the /userva for different levels of video card memory...
« Last Edit: February 25, 2010, 01:55:11 PM by Paul Solk » Logged
Rod Yallop
BETA Tester
*
Offline Offline

Posts: 433


WWW
« Reply #25 on: February 25, 2010, 02:54:30 PM »

W7 (the Home Prenium version at least) will not run unsigned drivers. There is a way to trick it into running them but it is somewhat laborious. Curiously MS did not se fit to provide users with a warning for this. or to provide an override option.
Logged
Tony Madge
BETA Tester
*
Offline Offline

Posts: 342


« Reply #26 on: February 25, 2010, 06:23:18 PM »

I agree re Win 7 but you can do it, I upgraded my Dad's laptop to 7 and I had to go into the registry and remove upper and lower filters, sounds hard work but it wasnt Smiley
Logged



AMD Phenom II X2 550 (4 cores) 3.10GHz @ 3.60GHz
Gigabyte GA-MA770T-UD3P Motherboard
Corsair Dominator 4GB DDR3 XMS3 PC2-1600C9 Ram
Gainward GTX 260 896MB 2200MHz GPU 625 MHz 216 Cores
3x SATA H/Ds
XP sp3
FS9
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.08 seconds with 18 queries.