
Determining Swap Space Requirements (UNIX)
The program sappfpar lets you check the minimum and maximum (worst case) swap space requirements for an SAP application server. It also checks the shared memory requirements and whether or not the parameters
em/initial_size_MB and abap/heap_area_total are set correctly. Proceed as follows:/usr/sap/<SYSTEM NAME>/SYS/exe/run/sappfpar check pf=/usr/sap/<SYSTEM NAME>/SYS/profile/<Profile name> nr=<System number> name=<Systemname> | more
Total, minimum requirement.....:
Ensure that there is more swap space available than what is specified in the worst case scenario. (This is because non-SAP processes also require swap space.)
The following minimum values for the swap space are valid in each case for host systems on which application servers run:
For optimum performance, 3-6 GB swap space is recommended.
The additional swap space requirements may be higher for application servers where heavy online operations and background jobs with large data volumes alternate (day/night operation).
Expanding the swap space may require additional disk space in certain circumstances. This is highly recommended due to inexpensive hardware prices.
Independent of the swap space size, you should monitor the swap space itself to avoid bottlenecks.

Other guidelines apply to 64-bit systems: Memory Management on 64-Bit Systems (UNIX).