{"id":18511342,"url":"https://github.com/hasnocool/linux-ram-cleaner","last_synced_at":"2025-06-18T03:32:49.941Z","repository":{"id":193970179,"uuid":"689832575","full_name":"hasnocool/linux-ram-cleaner","owner":"hasnocool","description":"A simple yet effective script to clean up unnecessary data from RAM on Linux systems.","archived":false,"fork":false,"pushed_at":"2024-09-18T10:34:33.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-14T11:33:00.651Z","etag":null,"topics":["bash","cache","cleaner","cleaning","linux","management","memory","open","optimization","ram","resource","script","shell","simple","software","source","swap","system","utilization"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hasnocool.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-11T02:07:05.000Z","updated_at":"2024-09-19T03:15:52.000Z","dependencies_parsed_at":"2023-09-11T03:26:41.175Z","dependency_job_id":"e61db172-47fc-44f8-8eb9-17d6989c2bea","html_url":"https://github.com/hasnocool/linux-ram-cleaner","commit_stats":null,"previous_names":["hasnocool/free-ram","hasnocool/linux-ram-cleaner"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hasnocool/linux-ram-cleaner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasnocool%2Flinux-ram-cleaner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasnocool%2Flinux-ram-cleaner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasnocool%2Flinux-ram-cleaner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasnocool%2Flinux-ram-cleaner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hasnocool","download_url":"https://codeload.github.com/hasnocool/linux-ram-cleaner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasnocool%2Flinux-ram-cleaner/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260481772,"owners_count":23015806,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","cache","cleaner","cleaning","linux","management","memory","open","optimization","ram","resource","script","shell","simple","software","source","swap","system","utilization"],"created_at":"2024-11-06T15:28:06.099Z","updated_at":"2025-06-18T03:32:44.913Z","avatar_url":"https://github.com/hasnocool.png","language":"Shell","readme":"**README.md**\n=====================================\n\n**Linux Ram Cleaner**\n====================\n\nA simple yet effective script to clean up your Linux system's RAM and free up some valuable resources.\n\n**Description**\n---------------\n\nAre you tired of running out of memory on your Linux machine? Do you wish there was an easy way to clear out unused data and get back some much-needed space? Well, wish no more! I built this script, **Linux Ram Cleaner**, to do just that. With a few simple commands, it'll clean up your RAM, freeing up resources for your next big project.\n\n**Features**\n------------\n\n*   **Clear PageCache only**: Quickly free up memory by clearing out unused page cache.\n*   **Clear dentries and inodes**: Go the extra mile and remove unnecessary directory entries and inode caches too!\n*   **Clear PageCache, dentries, and inodes**: Why not do it all? This option is perfect for when you need to make some serious space on your system.\n\nOne cool feature is... (you guessed it!) **the swapoff trick**. By temporarily disabling and re-enabling swap, we can even clean up swap memory!\n\nI'm thinking about adding a GUI interface for the script. Stay tuned!\n\n**Installation**\n---------------\n\n1.  Clone this repository using `git clone`.\n2.  Run `chmod +x memory_cleanup.sh` to make the script executable.\n3.  Move the script to your desired location (e.g., `/usr/local/bin`) and update the path in your `.bashrc` or equivalent.\n\n**Usage**\n----------\n\n1.  Simply run `./memory_cleanup.sh` from the terminal.\n2.  Follow the prompts to select which memory types you'd like to clear.\n3.  Enjoy your newfound free RAM!\n\n### Before and After screenshots\n\n![Before](before.png) **vs** ![After](after.png)\n\nPlease note: These images are placeholders for actual screenshots, which will be added once the project is more mature.\n\n**Contributing**\n--------------\n\nIf you'd like to contribute to this project or suggest new features, feel free to open an issue or submit a pull request. I'm always excited to collaborate with fellow developers!\n\n**License**\n----------\n\nThis project is licensed under the MIT License. See `LICENSE` for details.\n\n**Tags/Keywords**\n-----------------\n\n*   **Linux Ram Cleaner**\n*   **memory optimization**\n*   **cache cleaning**\n*   **swap memory management**\n*   **system resource utilization**\n*   **simple script**\n*   **open-source software**","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasnocool%2Flinux-ram-cleaner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhasnocool%2Flinux-ram-cleaner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasnocool%2Flinux-ram-cleaner/lists"}