Saturday, June 25, 2011

Change size of /dev/shm

I installed Oracle Database 11g (11.2.0.1.0) for Linux x86-64. When starting up the database, I received the following error:
ORA-00845: MEMORY_TARGET not supported on this system
 This is due to not enough memory being allocated to /dev/shm.

Simply increase the size of /dev/shm as follows:
umount /dev/shm
mount -t tmpfs shmfs -o size=2g /dev/shm

Applicable Versions:
  • Oracle Database 11g (11.2.0.1.0)
  • Oracle Enterprise Linux 5.5 64-bit


Ahmed Aboulnaga

No comments: