Clearing the RAM on server


This post is extension of my previous post

https://rajat1205sharma.wordpress.com/2015/02/27/how-to-kill-semaphore-of-oracle-instance-remove-shared-memory-of-oracle-instnace/

Sometimes situation arise when we try to start our db and we get error like not sufficient memory available, so unable to start our database. so one other option that we have is if there are no other DB on the host machine and if it is a Linux OS, then you can use the below command to clear the RAM without restarting the server machine –

“sync; echo 1 > /proc/sys/vm/drop_caches”    
The above command can be used in Production servers to clear RAM without restarting the macine.

For more information please read the below article

How to Flush Memory Cache on Linux Server

(Please be Really careful while trying other options)

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