×
Siemens Industry Online Support
Siemens AG
Entry type: FAQ Entry ID: 20440472, Entry date: 01/02/2007
(1)
Rate

How do you make the settings for the virtual memory in MS Windows XP/2000/ME/NT/9x?

  • Entry
  • Associated product(s)

Procedure:
All Microsoft Windows operating systems need a swap file for smooth operations. The swap file serves as an additional memory if the physical memory is not sufficient for operating an application. Parts of the physical memory, which are no longer accessed because the application is running in the background, are also shifted to swap file at specific intervals. This then makes more physical memory available for the application currently running in the foreground.

By default the swap file is created on the system drive and automatically managed by the operating system. This means that the size of the swap file is constantly adapted to the current requirements. With this setting you just have to ensure that there is always enough free space on the system drive. This is of particular significance because the TEMP directory is also managed on the system drive.

If there is not enough virtual memory available during operation of STEP 7, errors might occur. This is why it might be helpful to disable automatic management of the swap file and manually define the minimum and maximum sizes.

For example, you can select a value of 128MB or 256MB as the minimum value. The maximum value depends on the number of applications running simultaneously and can be very different from case to case. As a guide you can set the maximum size so that the physical memory and the virtual memory have a total value of > 1GB. If you have the possibility of extending the physical memory to 512MB or more, you can improve performance.

More information on the virtual memory is available in the readme file of STEP 7, section 3.2 "Memory Requirements". At least half the value of the main memory should be kept free.

Example:
For a main memory extension of 512 MB you require another 1024 MB free disk space for the swap file after installing STEP 7. Depending on the size of the project a larger swap file might be necessary for copying the complete project (2x project size on the hard disk).

The table below describes how to proceed to set the virtual memory in MS Windows XP.
 

No. Procedure for setting the virtual memory in Windows XP?
1

In Windows XP open the menu "Control Panel", either via

  • "Start > Control Panel" (in the Start menu for simplified access to the programs in Windows XP) or
  • "Start > Settings > Control Panel" for the classic Start menu as in earlier versions of Windows.

In the Control Panel in Windows XP there are two different views, the Classic View and the Category View.

  • Category View:
    In the Category View you first select the "Performance and Maintenance" menu and then open the "System Properties" dialog.
  • Classic View
    In the Classic View you can open the "System Properties" dialog directly.

In the "System Properties" dialog select the "Advanced" tab and then click the "Settings" button under "Performance". Now the "Performance Options" dialog opens.


Fig. 01
2

In the "Performance Options" dialog you click on the "Change" button under "Virtual Memory" to open the "Virtual Memory" dialog.


Fig. 02
3

In the "Virtual Memory" dialog you enter the size of the virtual memory required.


Fig. 03
4 After setting the size of the virtual memory you have to restart your PC for the system to recognize the settings.

The table below describes how to proceed to set the virtual memory in MS Windows 2000.
 

No. Procedure for setting the virtual memory in Windows 2000?
1

You get to the "System Properties" dialog via "Start > Settings > Control Panel > System". Here you select the "Advanced" tab.

+


Fig. 04

Under "Performance" you click the "Performance Options..." button to open the "Performance Options" dialog. Then click on the "Change" button under "Virtual Memory".

2

In the "Virtual Memory" dialog you enter the size of the virtual memory required.


Fig. 05
3 After setting the size of the virtual memory you have to restart your PC for the system to recognize the settings.

The table below describes how to proceed to set the virtual memory in MS Windows NT.
  

No. Procedure for setting the virtual memory in Windows NT?
1

You get to the "Virtual Memory" dialog via "Start > Settings > Control Panel > System > System Performance > Virtual Memory".
In the "Virtual Memory" dialog you enter the size of the virtual memory required.


Fig. 06
2 After setting the size of the virtual memory you have to restart your PC for the system to recognize the settings.

In MS Windows 9x/ME you get to the dialog for setting the virtual memory via "Start > Settings > Control Panel > System > System Performance > Virtual Memory".

Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art IT security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about cyber security, please visit
https://www.siemens.com/cybersecurity#Ouraspiration.