{"id":25050603,"url":"https://github.com/steadybit/memfill","last_synced_at":"2026-06-30T08:31:35.846Z","repository":{"id":250896011,"uuid":"835692882","full_name":"steadybit/memfill","owner":"steadybit","description":"Utility to fill up memory","archived":false,"fork":false,"pushed_at":"2026-02-05T18:27:28.000Z","size":107,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-02-05T21:56:26.521Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/steadybit.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-07-30T10:49:47.000Z","updated_at":"2026-02-05T10:35:00.000Z","dependencies_parsed_at":"2025-05-30T18:16:14.374Z","dependency_job_id":"20322004-5a8e-42e0-82e8-41dfa71214ea","html_url":"https://github.com/steadybit/memfill","commit_stats":null,"previous_names":["steadybit/memfill"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/steadybit/memfill","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steadybit%2Fmemfill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steadybit%2Fmemfill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steadybit%2Fmemfill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steadybit%2Fmemfill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steadybit","download_url":"https://codeload.github.com/steadybit/memfill/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steadybit%2Fmemfill/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34959505,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-30T02:00:05.919Z","response_time":92,"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-02-06T09:16:58.051Z","updated_at":"2026-06-30T08:31:35.834Z","avatar_url":"https://github.com/steadybit.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# memfill\n\n`memfill` is a small utility that fills up memory for a configured duration. It is used to reproduce memory pressure scenarios during reliability experiments.\n\n## Usage\n\n```\nmemfill \u003csize\u003e \u003calloc-mode\u003e \u003cduration\u003e [--ignore-cgroup]\n\nARGS:\n    \u003csize\u003e          Size of memory to fill up; suffixes: K, M, G or %\n    \u003calloc-mode\u003e    Allocation mode; [absolute, usage]\n    \u003cduration\u003e      Duration; suffixes: s, m, h, d\n\nFLAGS:\n    --ignore-cgroup   (Linux only) Ignore cgroup limits; compute total/usage from system information instead\n    -h, --help        Print help information\n    -V, --version     Print version information\n```\n\n### Examples\n\nFill 500 MB of memory in absolute mode for 30 seconds:\n\n```bash\nmemfill 500M absolute 30s\n```\n\nFill memory up to 80% usage for five minutes:\n\n```bash\nmemfill 80% usage 5m\n```\n\n## Requirements\n\n- Linux or Windows (`x86_64`, `aarch64` on Linux)\n- No special privileges required for the default mode; reading cgroup memory limits is the only OS-level interaction\n\n## Building\n\n### Prerequisites\n\n- [Rust](https://www.rust-lang.org/tools/install) (stable; toolchain is pinned via `rust-toolchain.toml`)\n- [cross](https://github.com/cross-rs/cross) for cross-compilation\n- [Docker](https://www.docker.com/) (required by `cross` to run the build containers)\n- [GNU Make](https://www.gnu.org/software/make/)\n\n### Build\n\n```bash\nmake build\n```\n\nCross-compiles release binaries for `x86_64-unknown-linux-gnu`, `aarch64-unknown-linux-gnu`, and `x86_64-pc-windows-gnu`. The artefacts are placed under `target/\u003ctriple\u003e/release/`.\n\n### Run Tests\n\n```bash\ncargo test\n```\n\nIntegration tests under `tests/` use [testcontainers](https://testcontainers.com/), so a working Docker installation is required.\n\n## License\n\nMIT - see [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteadybit%2Fmemfill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteadybit%2Fmemfill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteadybit%2Fmemfill/lists"}