Increasing swap or creating multiple paging files on Windows

Moderators: BASIS24x7, Rashed

Post Reply
Rajnikanth
Posts: 46

Increasing swap or creating multiple paging files on Windows

Post by Rajnikanth »

Netweaver 2004s SR2 prerequisite check noted that my Windows 2003 system has too small swap. As the result, the installation process was canceled.

Steps to solve the problem: Increase swap/create multiple paging files to overcome the 4,095-MB limit.

1. Dedicate 1 whole partition for swap on Windows

2. On the drive or volume you want to hold the paging files, create folders for the number of paging files you want to create on the volume. For example, C:\Pagefile1, C:\Pagefile2, and C:\Pagefile3.

3. Click Start, Click Run, type regedit in the Open box, and then click OK.

4. In the left pane, locate and click the following registry subkey:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SessionManager\MemoryManagement

5. Find the Pagingfiles value, and then double-click it to open it.

6. Remove any existing values, and add the following values:
c:\pagefile1\pagefile.sys 3000 4000
c:\pagefile2\pagefile.sys 3000 4000
c:\pagefile3\Pagefile.sys 3000 4000
7. Click OK, and then quit Registry Editor.
8. Restart the computer to cause the changes to take effect.
9. Access the virtual memory settings to check the properties of the paging file. To do this, follow these steps.

Access the virtual memory settings on a Windows 2000-based computer
a. On the desktop, right-click My Computer, and then click Properties.
b. Click the Advanced tab.
c. Click Performance Options.
d. Click Change.

Access the virtual memory settings on a Windows XP-based or a Windows Server 2003-based computer
a. On the desktop, right-click My Computer, and then click Properties.
b. Click the Advanced tab.
c. Under Performance, click Settings.
d. Click the Advanced tab, and then click Change.
In this example, the initial size of the paging files is set to 3000. You could save disk space by setting the initial size of the extra paging files to 0 so that the space is used only if it is needed. The initial size of the paging file is initialized to the minimum size when the computer starts. If the initial size is 3000, that space is reserved on the disk regardless of whether it is being used.

Note To get a complete memory dump from computers that have 4 GB RAM or more, it is still necessary to use the /maxmem switch in the Boot.ini. One of the page files on the system partition must still be 1 MB larger than the amount of RAM installed in the computer to successfully create a memory dump.


Regards
Rajnikanth
Post Reply