lock shared memory

lock shared memory disallows swapping of SAP ASE pages to disk and allows the operating system kernel to avoid the server’s internal page locking code. This can reduce disk reads, which are expensive.

Summary Information

Default value

0 (off)

Valid values

0 (off), 1 (on)



Display level


Required role

System administrator

Configuration group

Physical Memory

Not all platforms support shared memory locking. Even if your platform does, lock shared memory may fail due to incorrectly set permissions, insufficient physical memory, or for other reasons. See operating system documentation for your platform for information on shared memory locking.