{"id":16765217,"url":"https://github.com/devlato/simleak","last_synced_at":"2025-03-16T11:26:07.516Z","repository":{"id":68309340,"uuid":"193722270","full_name":"devlato/simleak","owner":"devlato","description":"Tiny command-line util that simulates lack of RAM by consuming memory in small chunks","archived":false,"fork":false,"pushed_at":"2019-06-25T14:24:37.000Z","size":13,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T23:26:54.900Z","etag":null,"topics":["chunk","cli","command-line","console","consume","cpp","leak","memleak","memory","ram","simulate","simulation","tool","util"],"latest_commit_sha":null,"homepage":"https://github.com/devlato/simleak","language":"C++","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/devlato.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2019-06-25T14:19:36.000Z","updated_at":"2020-02-27T04:57:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"316edb02-3442-4db7-a338-746602ca4945","html_url":"https://github.com/devlato/simleak","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlato%2Fsimleak","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlato%2Fsimleak/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlato%2Fsimleak/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlato%2Fsimleak/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devlato","download_url":"https://codeload.github.com/devlato/simleak/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243859928,"owners_count":20359615,"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":["chunk","cli","command-line","console","consume","cpp","leak","memleak","memory","ram","simulate","simulation","tool","util"],"created_at":"2024-10-13T05:28:47.295Z","updated_at":"2025-03-16T11:26:07.494Z","avatar_url":"https://github.com/devlato.png","language":"C++","readme":"# simleak\n\nSimulates a memory leak by consuming memory in small chunks. Suitable for testing performance and behavior of software in cases of having almost no available RAM.\n\nTested on macOS only so far, but build for Linux is coming.\n\n\n# Installation\n\nAs of now, there's no way to avoid building (which is quite simple though). Just clone the repo, run `make build`\nand you'll get the binary in `target/build/simleak`. Before running the command, make sure you have `g++` and `make` installed.\n\n\n# Use\n\n```\n$ simleak -h\nSimulates a memory leak by consuming memory in small chunks\nUsage:\n  simleak [OPTION...]\n\n  -m, --memory-limit arg  Sets memory limit in MBs (default: 32768)\n  -c, --chunk-size arg    Sets chunk size in MBs (default: 32)\n  -v, --verbose           Enable verbose execution log\n  -z, --fill-with-zeroes  Fill the allocated memory with zeroes instead of\n                          random values (faster)\n  -h, --help              Print this help message\n```\n\n\n# Dependencies\n\nThis small binary is using [cxxopts](https://github.com/jarro2783/cxxopts) for parsing command-line arguments.\nThanks to [@jarro2783](https://github.com/jarro2783) for creating and maintaining it.\n\n\n# License\n\nThis software is distributed under the MIT license. See LICENSE.md for the details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevlato%2Fsimleak","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevlato%2Fsimleak","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevlato%2Fsimleak/lists"}