Author Topic: Clearing RAM After Copy To Ram Session  (Read 821 times)

Offline erbad

  • Jr. Member
  • **
  • Posts: 27
Clearing RAM After Copy To Ram Session
« on: October 21, 2011, 11:22:03 AM »
I'm a big fan of the copy to ram feature found in PCLOS.

What I'm wondering is sometimes I will download a big file and understandably, it fills the ram up.  At some point, the pc will get slow and the only way I could find to clear the ram is to reboot.

Is there any possible command available that will allow me to clear the ram without rebooting?

Thank you

Offline waj1122

  • Jr. Member
  • **
  • Posts: 15
Re: Clearing RAM After Copy To Ram Session
« Reply #1 on: October 21, 2011, 06:30:22 PM »
gksu sync; echo 3 > /proc/sys/vm/drop_caches

Run the above command from a terminal or create an executable file and run it.

I called mine freeram.

#!/bin/sh
gksu sync; echo 3 > /proc/sys/vm/drop_caches
Bill