You can try increasing the size of the shared memory. The
sysctl manpage lists an example:
Code:
To set the amount of shared memory available in the system and the
maximum number of shared memory segments:
# sysctl kern.shminfo.shmmax=33554432
# sysctl kern.shminfo.shmseg=32
It also lists some other kern.shminfo.* options.