{"id":20770779,"url":"https://github.com/ably/grpc-memory-leak-test","last_synced_at":"2026-05-26T21:32:29.060Z","repository":{"id":150054191,"uuid":"87238910","full_name":"ably/grpc-memory-leak-test","owner":"ably","description":"Node.js gRPC memory leak test script for use with git bisect","archived":false,"fork":false,"pushed_at":"2021-09-19T19:55:37.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-12-17T06:23:16.456Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ably.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":"2017-04-04T21:56:22.000Z","updated_at":"2021-09-19T19:55:39.000Z","dependencies_parsed_at":"2023-08-24T07:46:34.824Z","dependency_job_id":null,"html_url":"https://github.com/ably/grpc-memory-leak-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ably/grpc-memory-leak-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ably%2Fgrpc-memory-leak-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ably%2Fgrpc-memory-leak-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ably%2Fgrpc-memory-leak-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ably%2Fgrpc-memory-leak-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ably","download_url":"https://codeload.github.com/ably/grpc-memory-leak-test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ably%2Fgrpc-memory-leak-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33540614,"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":"ssl_error","status_checked_at":"2026-05-26T15:22:15.568Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2024-11-17T12:11:55.798Z","updated_at":"2026-05-26T21:32:29.033Z","avatar_url":"https://github.com/ably.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gRPC Node.js memory leak tests\n\nThis script was created to work out when a gRPC Node.js memory leak was introduced, see https://github.com/grpc/grpc/issues/10445\n\nThis script was designed to use with `git bisect` to determine which commit is responsible for the memory leak. To use this:\n\n### 1. Install gRPC in a sub-folder\n\n`git clone git@github.com:grpc/grpc.git`\n\n### 2. Install this git repo in a sibling folder\n\nEnsure this repo and the gRPC repo share the same parent folders (i.e. they are siblings)\n\n`git clone git@github.com:ably/grpc-memory-leak-test.git`\n\n### 3. Run the tests\n\nFind a good commit. For example, `v1.1.0` is a known good commit, however you want to use the most recently known good commit.\nThen find the failing commit SHA, for example you may just use `main`.\n\nThen let `git bisect` do it's thing\n\n```\n# change working dir to the gRPC git folder\ncd grpc\n\n# Start a bisect and set the good and bad SHAs\ngit bisect start\ngit good [your-good-commit-SHA]\ngit bad [your-bad-commit-SHA]\n\n# Run the git best tests until a good SHA is found\ngit bisect run ../grpc-memory-leak-test/install_and_test_leak.sh\n```\n\nGit will return the first SHA that caused the memory leak\n\n## About\n\n[Ably is a realtime data distribution platform-as-a-service](https://www.ably.io).  We use [gRPC](https://github.com/grpc/grpc) extensively to communicate between different services across a number of languages.\n\n## License\n\nCopyright (c) 2017 Ably Real-time Ltd, Licensed under the Apache License, Version 2.0.  Refer to [LICENSE](LICENSE) for the license terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fably%2Fgrpc-memory-leak-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fably%2Fgrpc-memory-leak-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fably%2Fgrpc-memory-leak-test/lists"}