View Single Post
Old 07-13-11, 04:29 AM   #1
Skybird
Soaring
 
Skybird's Avatar
 
Join Date: Sep 2001
Location: the mental asylum named Germany
Posts: 40,545
Downloads: 9
Uploads: 0


Default How to make 32 Bit applications aware of more memory: relevant for FS-users

In another thread yesterday there was discussion on how to make 32 Bit applications like the FS-exe aware of more available RAM to avoid out-of-(available)memory-errors. The wisdsom of poatching a 32 Bit OS can be argued, nevertheless you definitely win something if you have a 64 Bit OS and want to make FS - or any old 32 Bit exe! - aware of more memory available. I found a repost of the procedure'S description yesterday when skimming the iFly-forum. The guy posting it just quoted it himself, too, so I think he will be okay that I repost it, too.

This is how it goes:

There is discussion in other posts about OOM's, the 3GB switch and the 4GB patch. The following is a compilation of information about 32bit/64bit OS and programs addressing more than 2GB memory. It was gleaned from various locations on the internet and personal experience.

NOTE: 64 BIT OPERATING SYSTEMS DO NOT NEED THE OS TWEAK! SEE PARA II BELOW FOR A FS MEMORY TWEAK.

I. XP or VISTA x32 with more than 2GB of RAM do not by default address the RAM above 2GB. It's just ignored.

A. If you have x32 XP:

1. Disable hidden files and folders, then on C:\ you'll find a file named boot.ini. Make a backup the open the original boot.ini in notepad and add the following to the end of the line:

/3GB/Userva=2560

so it reads like this:

multi(0)disk(0)rdisk(0)partition(2)\WINNT="Microso ft Windows XP " /fastdetect /3GB /Userva=2560

2. Save and close the file

3. Reboot

If this doesn't work for you, simply remove the edit (/3GB/Userva=2560) from the boot.ini file, save the file and reboot.

BTW, you should be using XP SP3.

B. If you have x32 Vista:


1. Open a command prompt with Administrator rights - Right Click the command prompt and select "run as administrator".

2. Enter in the box: (copy/paste if you wish)

bcdedit /set IncreaseUserVA 2560

and press enter.

3. Reboot

To reset to default start the command line prompt with Admin rights again and type:


bcdedit /set IncreaseUserVA 2048


Hit enter and reboot.

NOTE: ALL USERS WITH MORE THAN 2GB RAM SHOULD APPLY THE FOLLOWING TWEAK TO FS.

II. FS9.1 must be modified to address the additional memory.

Go to http://forums.techpowerup.com/showthread.php?t=112556 and download laa204.zip. Link is at the bottom of the first post, and instructions for use are on the page.

This is a tool which allows you to make applications large address aware. When a 32-bit application is Large Address Aware, it can access up to 4 GB on x64 operating systems and up to 3 GB on x86. NOTE: It is not advised to use this application if you have less than 3 GB of RAM.

So both 32 bit and 64 bit operating system users should make FS large address aware.

64 bit OS users can alternately use the 4GB patch, available here: http://www.ntcore.com/4gb_patch.php

As in all things involving the OS and changing files, pay attention to the details. If you are not sure what you are doing don't do it. And put a copy of your FS9.exe in a safe place before making the change.

Also as in all things, your results may vary.

NOTE: IF THE LINKS ABOVE SEEM DEAD, COPY AND PASTE THEM TO YOUR INTERNET BROWSER. DELETE THE EXTRA INFO BEFORE HTTP.

http://ifly.flight1.net/forums/forum...ng-more-memory
__________________
If you feel nuts, consult an expert.
Skybird is offline   Reply With Quote