My Oracle Support Banner

Oracle Linux: Set The Size Of /dev/shm (tmpfs) (Doc ID 2500032.1)

Last updated on JUNE 24, 2020

Applies to:

Linux OS - Version Oracle Linux 5.0 to Oracle Linux 7.6 [Release OL5 to OL7U6]
Linux x86
Linux x86-64

Goal

The tmpfs file system is similar to a RAMDISK, but supports resizing and memory paging.  The default size is "half of physical memory" but the memory is not allocated until files are created.  The technique for changing the memory limit is shown below.
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 Command Line Usage
 /etc/fstab Usage


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.