[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sweep Swap?
Hi,
Recently I have encountered a strange thing with my Linux swap mechanism
I have 32M RAM, 16M swap partition (2.0.30 kernel, pentium 200 MMX)
I have started to use javac and it eats a lot of memory, so I added a 16M
swap file.
Now , when I run X , Netscape and a few applications I get to 32M RAM,
and my swap starts working. When I start javac/java I get 16-20M more
memory taken and it's all swap! So here comes the problem
I have finished to compile Java and don't use it. But my swap usage is
still almost the same size. and when I run additional applications
I feel the way I felt when I have had 8M RAM -- It's Crazy
Why, Swap isn't get cleaned up. As I remember from my OS course, kernel
must use the prime memory first and put all the unused segments of code
into the swap or clean it up.
The only way to clean it was Reentering X.
Do I miss some point? I'm starting to think to buy some more memory, but
my average memory usage is under 32M.
Any ideas?
Thanks
----
BTW, from the IRA's Linux Announce Digests reposting get the smartbar tk
script. Nice tool (Mount/unmount cdrom/floppy, explorer, sw/hw info
(interrupts) other admin tools in one click) give a try. I liked it
www.geocities.com/SiliconValley/Pines/4123
______________________________________________________________________
Stas Bekman mailto:sbekman@iil.intel.com.il [WebMaster Intel Corp]
Address: Aba Silver 12/29, Haifa, 32694, Israel
Phones: [w] 972-(0)4-865-5188, [h] 972-(0)4-828-2264/3020
Home Page: http://techunix.technion.ac.il/~ofelix
Resource Center http://www.eprotect.com/stas/TULARC (Java,CGI,PC,Linux)
Linux-il Home: http://www.linux.org.il/