Execute as root

echo "kern.ipc.shmmax = 67108865" >> /etc/sysctl.conf

echo "kern.ipc.shmall = 32769" >> /etc/sysctl.conf

and reboot.

Obs: sysctl kern.ipc.shmmax=67108865‘ and/or ‘sysctl kern.ipc.shmall=32769‘ seems doesn’t work. Here, it works only after reboot.