{"id":31725574,"url":"https://github.com/codeswhite/ramfill","last_synced_at":"2025-10-09T05:50:43.010Z","repository":{"id":315326590,"uuid":"968552279","full_name":"codeswhite/ramfill","owner":"codeswhite","description":"Fills your RAM with dd","archived":false,"fork":false,"pushed_at":"2025-09-17T23:24:35.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-18T01:16:51.825Z","etag":null,"topics":[],"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/codeswhite.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-18T09:36:22.000Z","updated_at":"2025-09-17T23:24:39.000Z","dependencies_parsed_at":"2025-09-18T01:16:55.283Z","dependency_job_id":null,"html_url":"https://github.com/codeswhite/ramfill","commit_stats":null,"previous_names":["codeswhite/ramfill"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/codeswhite/ramfill","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeswhite%2Framfill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeswhite%2Framfill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeswhite%2Framfill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeswhite%2Framfill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeswhite","download_url":"https://codeload.github.com/codeswhite/ramfill/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeswhite%2Framfill/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000746,"owners_count":26082932,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-10-09T05:50:40.807Z","updated_at":"2025-10-09T05:50:43.006Z","avatar_url":"https://github.com/codeswhite.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ramfill\n\nA simple Linux RAM filler utility for testing memory pressure using tmpfs.\n\n## Purpose\n\nThis script allows you to simulate RAM pressure by filling a temporary filesystem (`tmpfs`) with zeroed or random data. Useful for:\n\n- Stress testing systems under memory load\n- Observing behavior under RAM exhaustion\n- Simulating production environments with limited free memory\n\n## Features\n\n- Uses `tmpfs` under `/tmp/ramfill` for safety (RAM-only, not disk)\n- Reads config from `~/.config/ramfill.conf`\n- Fill using `/dev/zero` (default) or `/dev/urandom`\n- CLI with `start`, `stop`, and `restart`\n- Reports memory usage and what will be freed on stop\n\n## Installation\n\n1. Copy `ramfill.sh` to a directory in your `$PATH`, e.g., `~/bin`\n2. Make it executable:\n\n```bash\nchmod +x ~/bin/ramfill.sh\n```\n\n3. Create a config file at `~/.config/ramfill.conf`:\n\n```bash\n# ~/.config/ramfill.conf\nRAM_FILL_SIZE=\"2G\"\nFILL_SOURCE=\"zero\"   # or \"urandom\"\n```\n\n## Usage\n\n```bash\nramfill.sh start     # Mounts tmpfs and fills it\nramfill.sh stop      # Unmounts tmpfs and frees memory\nramfill.sh restart   # Stops and then starts again\n```\n\n## Notes\n\n- Requires `sudo` for mounting tmpfs\n- Only uses RAM, no risk to disk\n- Don't use `urandom` unless you specifically need entropy-based fill\n\n## License\n\nMIT\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeswhite%2Framfill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeswhite%2Framfill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeswhite%2Framfill/lists"}