Fix Virtual Memory

Revision as of 13:12, 21 April 2017 by Kipkis (Kipkis | contribs) (importing article from wikihow)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A common problem many computer users experience is a computer's virtual memory being too low. This happens when a person is running a program or multiple programs that are taking up a lot of memory usage and the computer is almost at the maximum of what its memory can handle. You can fix virtual memory problems by manually increasing the size of the virtual memory your computer uses.

Steps

Windows XP

  1. Click the "Start" button. Click "Run." Type "sysdm.cpl" in the box labeled "Open" and then click "OK."
  2. Select the "Advanced" tab, and find the "Performance" heading. Click "Settings." Choose the "Advanced" tab and then click "Change" under "Virtual Memory."
  3. Look at the list of drives under the heading "Drive [Volume label]." Click on the drive that contains the operating system, as this is the drive of which you will adjust the virtual memory. Click "Custom size" under the heading "Paging file size for selected drive."
  4. Type an increased size in the text boxes labeled "Initial size (MB)" and "Maximum size (MB)." (Same number for max and min) When you are finished, click "Set." Click "OK" to close the window.
  5. Restart the computer if prompted.

Windows Vista and Windows 7

  1. Click the "Start" button. Select the "Control Panel." If "System and Maintenance" is an available option, click it. Then click "System."
  2. Select "Advanced system settings" from the menu on the left side. Click Settings button from performance option.Performance options will be displayed. If you are prompted for the administrator password, enter it and click "OK."
  3. Press the "Advanced" tab. Find the "Virtual Memory" heading the click "Change."
  4. Uncheck the box labeled "Automatically manage paging file size for all drives."
  5. Find the list of drives under the heading "Drive [Volume Label]." Click on the drive that contains the operating system, as this is the drive of which you will adjust the virtual memory. Click "Custom size."
  6. Edit the number in the text boxes for "Initial size (MB)" and "Maximum size (MB)." (Same number for max and min) Click "Set" when you are finished. Click "OK."
  7. Restart the computer if prompted.

Mac OS

  1. Open the Terminal program. You'll find it in the Utilities folder under the Applications folder.
  2. To turn off the swap file, type this command into the Terminal window: sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist
  3. To re-activate the swap, Type this command in the terminal window: sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.dynamic_pager.plistChoose the hard drive that will serve your virtual memory file. Up and down arrows will appear that will allow you to adjust the amount of virtual memory as either more or less.

Video

Tips

  • You can view the amount of RAM you have by clicking the "Start" button, then "Control Panel" and then "System" if you are using Windows. Under "Installed memory," you can view the amount of RAM you have. If you are using a Mac, click the "Apple" menu and then "About this computer." Look at the amount of physical memory (RAM) under the heading "Available Built In Memory."
  • Add more RAM to your computer if you keep having virtual memory problems after increasing the size. This will increase the amount of virtual memory in addition to physical memory, and you can also increase the size manually after installing more RAM.

Sources and Citations