RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Ram Usage and Freeing it up

    Scheduled Pinned Locked Moved Help and Support
    ram
    3 Posts 2 Posters 540 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      almulder
      last edited by

      I dont know if this is normal or not but after having the unit on and playing for some time the free mem is around 76MB down from the 332BM after a fresh reboot.

      So is there a way that upon launching an emulator or game that i can run code to clean up the memory?

      This is the code I found and used to get my memory freed up again
      su -c "echo 3 >'/proc/sys/vm/drop_caches' && swapoff -a && swapon -a" root

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        Don't do that - Linux knows how to take care of the memory. For reference - https://www.linuxatemyram.com.

        1 Reply Last reply Reply Quote 2
        • A
          almulder
          last edited by

          Aw cool, did not know that, I am really starting to like Linux. :)

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.