Welcome to the Linux Foundation Forum!

swap to ram command?

Posts: 18

is there a terminal command or any way to move all memory stored on swap space back to the ram?

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Comments

  • Posts: 4
    Which distro..?
    I know such a thing is available in some live distros like DSL and Gentoo, but I have no idea about being available in installed distros..
  • Posts: 18
    this thread is inside the ubuntu sub-forum lol
  • Posts: 4
    LOL didn't notice, I got it from the recent discussions link :cheer:
    ok, is that is what you trying to do..?
  • Posts: 18
    it is not.

    whenever i send my laptop into hibernate it moves all memory from the ram to swap, so that it doesn't have to battery-back the ram to maintain the data.

    the problem (i guess not really a problem lol) is that when i turn it back on, only some of the memory will go back to the ram, and anywhere from 20-50% will remain on swap.
  • Posts: 4
    Kernel issue, I think
  • Posts: 18
    i will not strike that out as a possibility, but i don't think so

    from my experiences, data is only retrieved from swap when it is needed again by it's host program.

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training