public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* VMM - freeing up swap space
@ 2002-06-18 15:56 Gregory Giguashvili
  2002-06-18 15:10 ` Richard B. Johnson
  2002-06-18 16:04 ` Austin Gonyou
  0 siblings, 2 replies; 9+ messages in thread
From: Gregory Giguashvili @ 2002-06-18 15:56 UTC (permalink / raw)
  To: Linux Kernel (E-mail)

Hello,

Running an application allocating huge amounts of memory would push some
data from RAM to swap area. After the application terminates, swap area is
usually still occupied. 

Is there any way to clean up the swap area by pushing the data back to RAM?

Thanks in advance
Giga
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Gregory Giguashvili
Senior Software Engineer
Email: gregoryg@ParadigmGeo.com
Tel: 972-9-9709379 Fax: 972-3-9709337
Paradigm Geophysical Ltd.
http://www.math.tau.ac.il/~gregoryg



^ permalink raw reply	[flat|nested] 9+ messages in thread
* RE: VMM - freeing up swap space
@ 2002-06-18 17:26 Gregory Giguashvili
  2002-06-18 22:00 ` Jelle Foks
  0 siblings, 1 reply; 9+ messages in thread
From: Gregory Giguashvili @ 2002-06-18 17:26 UTC (permalink / raw)
  To: 'root@chaos.analogic.com'; +Cc: Linux Kernel (E-mail)

>Sure. Execute `swapoff -a`, followed by `swapon -a`. This is no joke.

Thanks. That really helped, let alone the fact that swapoff is a lengthy
operation (I can understand why), the resulting memory was even less than
the original RAM+swap size. I guess that happened because of memory
rearrangements when moving it up to RAM.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-06-19  1:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-18 15:56 VMM - freeing up swap space Gregory Giguashvili
2002-06-18 15:10 ` Richard B. Johnson
2002-06-18 16:32   ` DevilKin
2002-06-18 16:56     ` Richard B. Johnson
2002-06-18 18:17       ` Hugh Dickins
2002-06-19  1:27         ` Tom Vier
2002-06-18 16:04 ` Austin Gonyou
  -- strict thread matches above, loose matches on Subject: below --
2002-06-18 17:26 Gregory Giguashvili
2002-06-18 22:00 ` Jelle Foks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox