Difference between revisions of "Sims 3:Large Address Aware"

From SimsWiki
Jump to: navigation, search
m (Applications That Can Enable the LAA bit)
m (Overview)
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
 
==Overview==
 
==Overview==
 
All 32-bit applications (including The Sims 3) that run on Microsoft Windows, by default, have the large address aware (LAA) bit disabled.  In layman's terms, this means the application cannot address more than 2 GiB (2,147,483,648 bytes) of virtual memory.  The Sims 3 can, under certain circumstances, reach this limit causing the game to crash to the desktop without warning.  There are tools available that allow you to mod The Sims 3 executable(s) which allows the game to use up to 4 GiB (4,294,967,296 bytes) of virtual memory.
 
All 32-bit applications (including The Sims 3) that run on Microsoft Windows, by default, have the large address aware (LAA) bit disabled.  In layman's terms, this means the application cannot address more than 2 GiB (2,147,483,648 bytes) of virtual memory.  The Sims 3 can, under certain circumstances, reach this limit causing the game to crash to the desktop without warning.  There are tools available that allow you to mod The Sims 3 executable(s) which allows the game to use up to 4 GiB (4,294,967,296 bytes) of virtual memory.
 +
 +
'''If your game is patched to 1.17/2.12/3.8/4.5/5.2/6.0 or newer, the necessary files are already large address aware so there is no reason to follow the instructions on this page.'''
  
 
==Diagnosing LAA Crashes==
 
==Diagnosing LAA Crashes==
Line 18: Line 20:
  
 
==32-bit Operating Systems==
 
==32-bit Operating Systems==
If you have a 32-bit version of Windows, and additional step is required in order for The Sims 3 to use more than 2 GiB of virtual memory.  You must have at least 3 GiB of RAM installed in your system before taking these steps.
+
If you have a 32-bit version of Windows, and additional step is required in order for The Sims 3 to use more than 2 GiB of virtual memory.  If your computer has at least 3 GiB of RAM installed, follow the instructions on the [[Game Help:Insufficient Memory Crashes#Step 3: Allow more memory to applications|Insufficient Memory Crashes]] article. That article also contains information on how to determine how much RAM is installed.
 
+
===Windows XP, Server 2003===
+
# Open '''System Properties'''.
+
#* Right-click on '''My Computer''' and select '''Properties'''.
+
# Select the '''Advanced''' tab.
+
# In the '''Startup and Recovery''' area, click '''Settings''' to open the Startup and Recovery dialog.
+
# In the '''System Startup''' area, click '''Edit''' to open the Windows boot.ini in Notepad.
+
# Make sure to disable '''Word Wrap''' from the '''Format''' menu (you do not want a check to appear next to it).
+
# Find the '''[Operating Systems]''' section.  Each line below this header represents an operating system installed on your computer.
+
# At the end of each line under [Operating Systems] add the following after /fastdetect (or whatever is at the end of the line):
+
#* If you have 3 GiB of RAM installed: '''/3GB /userva=2560'''
+
#* If you have 4 GiB of RAM installed: '''/3GB'''
+
# '''Save''' the changes and close Notepad.
+
# Close all open dialogs and '''restart your computer'''.
+
 
+
====In case of trouble====
+
Repeat the above steps but instead of adding /3GB and /userva, remove them.
+
 
+
===Windows Vista, Windows 7, Server 2008===
+
# Open the '''Command Prompt''' with administrative rights.
+
#* Open '''Start'''.
+
#* Open '''Programs'''.
+
#* Open '''Acessories'''.
+
#* Right-click on '''Command Prompt''' and select '''Run as Administrator'''.
+
# Type the following and hit enter:
+
#* If you have 3 GiB of RAM installed: '''bcdedit /set IncreaseUserVA 2560'''
+
#* If you have 4 GiB of RAM installed: '''bcdedit /set IncreaseUserVA 3072'''
+
# Close the command prompt and '''restart your computer'''.
+
 
+
====In case of trouble====
+
Repeat the above steps but use the following command instead: '''bcdedit /deletevalue IncreaseUserVA'''
+
  
 
==64-bit Operating System==
 
==64-bit Operating System==

Latest revision as of 11:20, 27 October 2011

Contents

[edit] Overview

All 32-bit applications (including The Sims 3) that run on Microsoft Windows, by default, have the large address aware (LAA) bit disabled. In layman's terms, this means the application cannot address more than 2 GiB (2,147,483,648 bytes) of virtual memory. The Sims 3 can, under certain circumstances, reach this limit causing the game to crash to the desktop without warning. There are tools available that allow you to mod The Sims 3 executable(s) which allows the game to use up to 4 GiB (4,294,967,296 bytes) of virtual memory.

If your game is patched to 1.17/2.12/3.8/4.5/5.2/6.0 or newer, the necessary files are already large address aware so there is no reason to follow the instructions on this page.

[edit] Diagnosing LAA Crashes

The Sims 3 produces exception (xcpt*.txt and xcpt*.mdmp) files in the user's My Documents directory when it crashes. To determine if the crash was caused by LAA:

  1. Open an xcpt*.txt file with Notepad or your favorite text editor.
  2. Behind Free virtual memory:, is it less than 200 Mb? If yes, LAA most likely caused the crash. If no, something else most likely caused the crash.

[edit] Applications That Can Diagnose LAA Crashes


[edit] Applications That Can Enable the LAA bit

Because modifying an executable is no easy feat, the modification must be performed by an application. Here are some of the applications known to work (in order from easiest to most difficult).

[edit] 32-bit Operating Systems

If you have a 32-bit version of Windows, and additional step is required in order for The Sims 3 to use more than 2 GiB of virtual memory. If your computer has at least 3 GiB of RAM installed, follow the instructions on the Insufficient Memory Crashes article. That article also contains information on how to determine how much RAM is installed.

[edit] 64-bit Operating System

No extra steps are required; however, in order to provide the most memory to The Sims 3, it is recommend you have more than 4 GiB of RAM installed in your system.


[edit] Invalid File Found: TS3*.exe

Enabling the large address aware bit via any method may result in future patches throwing an "Invalid File" error on the executable. To correct this in The Sims 3 Large Address Aware, click on "Reset LAA." To correct this in CFF Explorer, follow the instructions here but uncheck "App can handle >2GB address space" box instead of checking it. Now you should be able to install the patch without problems. Remember to make the game large address aware again after the patch(es) are installed.

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox