[CentOS] way to keep program in memory

William Warren hescominsoon at emmanuelcomputerconsulting.com
Wed Oct 12 22:16:53 UTC 2005

change vm.swappiness=0
form it's default.

Jerry Geis wrote:
> Is there a way to specify that program X should be kep in memory and not 
> swap it out?
> I have a program that takes some time to load and as long as you keep 
> using it its responsive
> but if after sometime its not in use and now I use it it has a slow 
> response till it gets swapped back in.
> The box in question has 1 GIG ram and its not running much else just 
> this program really. Just looking
> for a way to keep it in RAM.
> Thanks,
> Jerry
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

My "Foundation" verse:
Isa 54:17  No weapon that is formed against thee shall prosper; and 
every tongue that shall rise against thee in judgment thou shalt 
condemn. This is the heritage of the servants of the LORD, and their 
righteousness is of me, saith the LORD.

-- carpe ductum -- "Grab the tape"
CDTT (Certified Duct Tape Technician)

Linux user #322099

More information about the CentOS mailing list