Add Swap Space for oracle database

Ref : https://askubuntu.com/questions/178712/how-to-increase-swap-space

# Adding Swap Space :

$ sudo su –

$ dd if=/dev/zero of=/root/swapfile bs=1024 count=6M
Note : If you want to make 3Gb file then change count value to count=3M.

$ mkswap /root/swapfile

$ vi /etc/fstab
# Add this line to /etc/fstab
/root/swapfile swap swap sw 0 0

$ swapon /root/swapfile

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s