{"id":18561192,"url":"https://github.com/apostrophecms/max-mem","last_synced_at":"2025-10-30T22:20:04.176Z","repository":{"id":62075140,"uuid":"557253273","full_name":"apostrophecms/max-mem","owner":"apostrophecms","description":"Measure maximum memory usage of a command","archived":false,"fork":false,"pushed_at":"2022-10-25T11:01:17.000Z","size":2,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T05:30:04.191Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/apostrophecms.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}},"created_at":"2022-10-25T11:00:29.000Z","updated_at":"2023-01-03T09:35:24.000Z","dependencies_parsed_at":"2022-10-26T02:30:26.344Z","dependency_job_id":null,"html_url":"https://github.com/apostrophecms/max-mem","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apostrophecms%2Fmax-mem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apostrophecms%2Fmax-mem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apostrophecms%2Fmax-mem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apostrophecms%2Fmax-mem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apostrophecms","download_url":"https://codeload.github.com/apostrophecms/max-mem/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248144204,"owners_count":21054885,"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":[],"created_at":"2024-11-06T22:06:05.965Z","updated_at":"2025-10-30T22:19:59.126Z","avatar_url":"https://github.com/apostrophecms.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# max-mem\n\n## Purpose\n\nMeasures the maximum memory usage of any command. `max-mem` checks the memory usage of the command every 100 milliseconds and reports the peak \"resident set size\" of the command when it exits, including any child processes. This is helpful in tracking down the cause of out-of-memory errors in Webpack builds and other expensive operations.\n\n`max-mem` does for memory what `time` does for execution time.\n\n## Install\n\n```\nnpm install -g max-mem\n```\n\n## Usage\n\n```\nmax-mem npm run build\n\n[Regular output appears here]\n\nMax memory usage: 800MB\n```\n\n## Credits\n\n`max-mem` was created to facilitate our work on [ApostropheCMS](https://apostrophecms.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapostrophecms%2Fmax-mem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapostrophecms%2Fmax-mem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapostrophecms%2Fmax-mem/lists"}