When generating keys with PGP Command Line, the following error occured despite the fact that the system has plenty of available memory (>2GB):
3090: Operation Failed, Out of Memory
|Note: This answer pertains to PGP Command Line 9.x running in HP-UX.|
The root cause could be that the kernel parameter shmseg is not enough to generate keys. Shmseg specifies the maximum number of shared memory segments that can be attached to a process at any given time
The default value for shmseg on HP-UX is 120. Anything less than that may result in inadequate memory allocations required for key generation (especially for larger key sizes). It is highly recommended to set shmseg to the default value or higher.