Skip to content

Instantly share code, notes, and snippets.

@mortenbra
Created July 15, 2015 08:36
Show Gist options
  • Save mortenbra/398a533d4481f2b8d015 to your computer and use it in GitHub Desktop.
Save mortenbra/398a533d4481f2b8d015 to your computer and use it in GitHub Desktop.
Adjusting tmpfs size for Oracle XE on CentOS
# adjust tmpfs on CentOS as appropriate for Oracle XE
# see https://oracle-base.com/articles/11g/automatic-memory-management-11gr1
# check the available space
df -k
# adjust available space
umount tmpfs
mount -t tmpfs shmfs -o size=1024M /dev/shm
# make this change permanent
nano /etc/fstab
# make sure the "tmpfs" line has the following values
# tmpfs /dev/shm tmpfs size=1024M 0 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment