Professional Documents
Culture Documents
SAP Note 88416 Memory Zero Administration
SAP Note 88416 Memory Zero Administration
Symptom
Zero administration memory management on Windows
Other Terms
ZAMM, memory management, pagefilesize, page file size
Solution
Description of functions
1. The basis for zero administration memory management on Windows is the dynamically self-extending
extended memory. The extended memory is initially set to the size of the profile parameter
PHYS_MEMSIZE ([PM]). If more memory is required by the user, the extended memory extends itself
in steps of "min(([PM] / 2), 2)" up to the set limit of the profile parameter em/max_size_MB or until the
address space in the Windows page file is used up. By setting the standard value for
em/max_size_MB to 20000 MB (100000 MB for 64 bit), it is the size of the Windows page file that
represents the actual limit for the extension of the extended memory. The profile parameter
PHYS_MEMSIZE determines how much of the entire main memory is to be used by the SAP system.
The parameter is entered during installation in accordance with the entry. The standard value for
PHYS_MEMSIZE is the size of the main memory [RAM]. As of kernel version 7.20, you can specify
PHYS_MEMSIZE relative to the size of the main memory as follows:
PHYS_MEMSIZE=20%
NOTE: The specified value "20%" is an example of the specification of a percentage value and not a
suggested value for a productive system.
Not all SAP versions provide you with the option of setting the maximum memory consumption
individually in a dialog box during the installation of the instance. In this case, the parameter is not set
and receives the default value (size of the main memory [RAM]).
If you operate several SAP ABAP Server instances on one computer, you must set the parameter
PHYS_MEMSIZE in the instance profiles. For detailed information, refer to SAP Note 1518419.
1. Even with zero administration management, the Windows operating system should be configured in
such a way that it keeps the file cache to a minimum size. Therefore, make sure that indicator
On the 64-bit operating systems Windows Server 2003 and Windows Server 2008 (not Windows
Server 2008 R2), if you use certain backup software, the Windows file system cache may increase to
high values and this may have a negative effect on the performance of the server. For more
information, see SAP Note 1416152.
2. The basis for the zero administration memory management is a sufficiently large Windows page file.
For detailed information, refer to SAP Note 1518419.
3. All relevant memory management parameters are predefined with an optimal standard value, making
all manual configurations unnecessary.
As of kernel version 7.40, certain profile parameters are calculated for all operating system platforms in
accordance with the available memory. It is also now possible to calculate parameter values with formulas.
In 7.40, parameter values can contain formulas. The expression $(Parameter) in the value of a parameter
references the value of the parameter with the name Parameter.
em/address_space_MB $(em/initial_size_MB)
em/max_size_MB $(PHYS_MEMSIZE) * 1.5
rdisp/wp_ca_blk_no $(rdisp/elem_per_queue) * 3
max(min(1000+40*max(5,floor(($(PHYS_MEMSIZE)-128)
rdisp/PG_SHM
*25/128)),16384),1024)
rdisp/PG_MAXFS 32768
rsdb/ntab/entrycount $(zcsa/db_max_buftab)
rsdb/ntab/ftabsize min(500000, ($(rsdb/ntab/entrycount)))
rsts/ccc/cache07 $(rsts/ccc/cachesize) * 0.1
rtbb/buffer_length $(zcsa/table_buffer_area) * 0.1 / 1024
rtbb/max_tables $(zcsa/db_max_buftab) * 0.1
zcsa/table_buffer_area min(3333333333, (max(30000000,($(em/initial_size_MB) * 1024 * 1024 * 0.1))))
ztta/roll_extension 2000000000
1. The formulas in the table are based on the 7.45 kernel version. They might be adjusted in later kernel
versions in line with observations from EarlyWatch sessions.
2. The calculated values from the kernel you use can differ from these. For detailed information, see
transaction SE38, report rsparam-either column 3 (System Default (Unsubs. Form)) or by
double-clickingon the parameter line, 1.1 C kernel.
3. This SAP Note will no longer be adjusted in line with changed formulas.
4. In individual cases, customer-specific requirements may demand an individual parameterization. Here,
we normally recommend the setting of deviating values following an EarlyWatch Session.
5. If you want to use the default values that were calculated automatically, you must not list the relevant
profile parameter in the instance profile or Default.pfl. If you want to use transaction RZ10 to delete or
deactivate the above mentioned profile parameters, use the "Extended maintenance" function in RZ10.
"Basic maintenance" is not suitable for deleting these parameters.
6. Zero administration memory management on Windows intends to reduce the number of parameters
entered into the profiles. As a result, the maintenance and configuration of the application server is
simplified, and the available resources are optimally used.
Software Components
407621 INST: 4.6C SR2 R/3 Inst. on Windows 2000: IBM AS/400
1518419 Page file and virtual memory required by the SAP system
407621 INST: 4.6C SR2 R/3 Inst. on Windows 2000: IBM AS/400