{"id":22471899,"url":"https://github.com/medowic/simple-memory-cleaner","last_synced_at":"2026-05-03T19:33:05.271Z","repository":{"id":222390327,"uuid":"757012146","full_name":"medowic/simple-memory-cleaner","owner":"medowic","description":"Simple memory cleaner (buff/cache) for Linux","archived":false,"fork":false,"pushed_at":"2025-01-13T18:47:06.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T20:09:38.141Z","etag":null,"topics":["linux","memory-cleaner"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/medowic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-02-13T18:26:31.000Z","updated_at":"2025-01-13T18:47:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"df053af0-7fa7-488e-a3fc-876996b434a6","html_url":"https://github.com/medowic/simple-memory-cleaner","commit_stats":null,"previous_names":["medowic/simple-memory-cleaner"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/medowic%2Fsimple-memory-cleaner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/medowic%2Fsimple-memory-cleaner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/medowic%2Fsimple-memory-cleaner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/medowic%2Fsimple-memory-cleaner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/medowic","download_url":"https://codeload.github.com/medowic/simple-memory-cleaner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245878929,"owners_count":20687297,"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":["linux","memory-cleaner"],"created_at":"2024-12-06T12:08:06.924Z","updated_at":"2026-05-03T19:33:00.235Z","avatar_url":"https://github.com/medowic.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simple-memory-cleaner (clmem)\nThis is a simple script that removes the \"buff/cache\" from RAM. There nothing different\n\nBut there are some features =)\n## Install\nOne line. One command. And everything is ready!\n```sh\ncurl -fsSL https://raw.githubusercontent.com/medowic/simple-memory-cleaner/master/install.sh | sudo bash\n```\n## Uninstall\n```sh\ncurl -fsSL https://raw.githubusercontent.com/medowic/simple-memory-cleaner/master/uninstall.sh | sudo bash\n```\n## Usage\n### Manually\nYou can use the `clmem` command for fast memory cleaning\n\n\u003e [!NOTE]\n\u003e To use `clmem`, you must be a root or use `sudo`\n\n```sh\n$ sudo clmem\n# Cleaned: ... MiB\n```\n### At background (daemon)\nAlso, `clmem` works as a daemon to clean up memory periodically\n\nTo start and stop it, use `systemctl`\n```sh\nsystemctl start clmem # start service\nsystemctl stop clmem # stop service\n```\nUsually, `clmem` cleans up memory every 30 minutes, but this value can be changed in `/etc/clmem.conf`:\n```\n# This is configuration file for simple-memory-cleaner (clmem)\n\n# How often will the memory be cleared (in minutes)?\nCLEAN_TIME=30\n```\nCleaning is set to every 30 minutes (`CLEAN_TIME=30`). You can change this value to whatever you want but it must be not less than `1`.\n```\nCLEAN_TIME=60 # now, the daemon will clean memory every 60 minutes\n```\nIf you set this value to less than `1`, the daemon will not start\n```\nCLEAN_TIME=0 # daemon will be stopped with exit-code 1\n```\n**After changing the value, restart the daemon by running** `systemctl restart clmem`\n# License\nThis is project is under the [MIT License](https://raw.githubusercontent.com/medowic/simple-memory-cleaner/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmedowic%2Fsimple-memory-cleaner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmedowic%2Fsimple-memory-cleaner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmedowic%2Fsimple-memory-cleaner/lists"}