RE: VMM - freeing up swap space

From: Jelle Foks (jelle@frontierd-us.com)
Date: Tue Jun 18 2002 - 17:00:14 EST


On Tue, 2002-06-18 at 13:26, Gregory Giguashvili wrote:
> >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.

Or mmapped files for which pages had been read into memory, but were
freed to make room for your large data allocations.

Jelle

> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jun 23 2002 - 22:00:17 EST