n is an integer with a minimum value of 65,536 (bytes). The default value is 16,777,216.
locksiz is the size of memory in bytes allocated for locks. The system rounds up the value to the next multiple of 64 kilobytes. The default is 16,777,216 bytes. (On the IBM AIX and HP-UX platforms, the default is 33,554,432 bytes.)
Since memory used to allocate locks is taken from gmheap (the Generic Memory Heap), you cannot use more memory for locks than exists in gmheap. If you need more room for the lock table, increase the gmheap parameter as well. Alternatively, you can lower the LockThreshold to use less space in the lock table.
If you edit this setting, changes take effect immediately.
Changing This Parameter
On the Advanced Memory page of the Management Portal (System Administration > Configuration > Additional Settings > Advanced Memory), in the locksiz row, select Edit. Enter a number of bytes.
Instead of using the Management Portal, you can change locksiz in the Config.configOpens in a new tab class (as described in the class reference) or by editing the CPF in a text editor (as described in the Editing the Active CPF section of the “Introduction to the Configuration Parameter File” chapter in this book).