Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror

Comment Use the RAM where it's needed. (Score 1) 983

The operating system will page out pages that have never been used, or used very infrequently, if at all.
 
If you have a 6MB program, and there is 500K of code that's used on startup, but never referenced again, let the operating system page it out, and use that RAM for other programs, or cache. The same goes for code that implements functionality that is rarely (if ever) used. Why load it, if it never gets referenced?
 
In a regular program, there are lots of pages that are referenced once, or not at all.

Slashdot Top Deals

Usage: fortune -P [-f] -a [xsz] Q: file [rKe9] -v6[+] file1 ...

Working...