MEMORY NO MORE PAGING

Sympton

SAP paging overflow when storing data in the ABAP/4 memory.

Caused

The program requested storage space from the SAP paging area, but the request cannot be fulfilled because of lack paging memory.

Solution

Increase the size of the paging area, rdisp/PG_MAXFS = <size> via transaction code RZ10. Here, <size> stands for the size of the paging area in blocks of 8 KB. Up to a value of 250,000, you must simply make sure that there is sufficient space for the paging file in the data directory of the application server. If the value is 250,000, the size of the paging file can be up to 2GB.

If the parameter value is greater than 250,000, you must take into account other restrictions, which are explained below:

On 32-bit platforms, the size of the paging file is limited to 2 GB. A part of the paging area can be buffered in the shared memory, but the buffering is severely limited by the address space restriction on 32-bit platforms. The size of the buffered portion in the paging is determined by parameter rdisp/PG_SHM = <size>. Its value is also specified in 8 KB blocks. Therefore, the following applies to the maximum value of rdisp/PG_MAXFS: rdisp/PG_MAXFS must be less than 250,000 + rdisp/PG_SHM

On 64-bit platforms, the size of the paging file is not limited to 2GB, provided that the file system allows files larger than 2 GB. The value of parameter rdisp/PG_MAXFS can be larger than 250,000 on 64-bit platforms.

In profile maintenance, a maximum value of 250,000 is set. If you use a value greater than 250,000, the system issues a warning message, but you can ignore it provided you adhere to the restrictions mentioned above.

The information about paging also applies to the roll file and roll buffer. The relevant parameters are rdisp/ROLL_MAXFS and rdisp/ROLL_SHM.

For all releases with a kernel patch version up until May 2006 approximately, the size of the roll buffer and paging buffer is limited to 2 GB. If the block size is 8 KB, the values of parameter rdisp/PG_SHM and parameter rdirp/ROLL_SHM cannot exceed 250,000.

As of approximately May 2006, a patch that lifts the roll buffer and paging buffer restriction is provided for kernel releases as of kernel release 640. The patch is contained in the CST Patch Collection 17 2006.

The roll buffer and the paging buffer are located in shared memory segments 8 and 9. The size of these shared memories must be sufficiently large. Possible size restrictions may be imposed by the operating system, or due to the fact that these are contained in a shared memory pool. The size of shared memory pools is limited to 2 GB.

References

SAP Note 133909

You May Also Like

Leave a Reply?