{"id":15406517,"url":"https://github.com/splittingred/protobuf-315-leak","last_synced_at":"2025-08-02T13:10:00.118Z","repository":{"id":137472052,"uuid":"350504458","full_name":"splittingred/protobuf-315-leak","owner":"splittingred","description":"Illustrates leak in protobuf 3.15.","archived":false,"fork":false,"pushed_at":"2022-01-19T02:39:01.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T07:09:41.637Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/splittingred.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-03-22T22:12:46.000Z","updated_at":"2022-01-19T02:26:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"ee1251f0-ae30-47e8-bd15-53f68ccc953b","html_url":"https://github.com/splittingred/protobuf-315-leak","commit_stats":{"total_commits":15,"total_committers":1,"mean_commits":15.0,"dds":0.0,"last_synced_commit":"2202519b7e52a50558b6d96d9188a2dbcf1cdb7c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/splittingred/protobuf-315-leak","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splittingred%2Fprotobuf-315-leak","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splittingred%2Fprotobuf-315-leak/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splittingred%2Fprotobuf-315-leak/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splittingred%2Fprotobuf-315-leak/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/splittingred","download_url":"https://codeload.github.com/splittingred/protobuf-315-leak/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splittingred%2Fprotobuf-315-leak/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268393973,"owners_count":24243328,"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-08-02T02:00:12.353Z","response_time":74,"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":"2024-10-01T16:23:50.163Z","updated_at":"2025-08-02T13:10:00.083Z","avatar_url":"https://github.com/splittingred.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## Google Protobuf 3.15 Memory Leak\n\n[![CircleCI](https://circleci.com/gh/splittingred/protobuf-315-leak/tree/main.svg?style=svg)](https://circleci.com/gh/splittingred/protobuf-315-leak/tree/main)\n\nThis repository illustrates a memory leak in the google-protobuf 3.15 gem when used in gRPC.\n\nSee https://github.com/protocolbuffers/protobuf/issues/8421\n\n## How to Run\n\nRun: `./run.sh`\n\nThis will export a memory benchmark using https://github.com/michaelherold/benchmark-memory, illustrating that\ngoogle protobuf does not release allocated objects for GC appropriately. \n\n## Sample Output\n\n```\nRunning Protobuf 3.14 test\n------------------\nInstalling gems...\nFetching gem metadata from https://rubygems.org/.........\nResolving dependencies...\nUsing memory_profiler 0.9.14\nUsing benchmark-memory 0.1.2\nUsing bundler 1.17.3\nUsing google-protobuf 3.14.0 (universal-darwin)\nUsing googleapis-common-protos-types 1.0.6\nUsing grpc 1.36.0 (universal-darwin)\nBundle updated!\nStarting grpc server...\nLetting server boot...\nBeginning benchmark...\nCalculating -------------------------------------\n              client     3.976M memsize (     0.000  retained)\n                        30.000k objects (     0.000  retained)\n                         4.000  strings (     0.000  retained)\nCalculating -------------------------------------\n              client     3.976M memsize (     0.000  retained)\n                        30.000k objects (     0.000  retained)\n                         4.000  strings (     0.000  retained)\nRunning Protobuf 3.15 test\n------------------\nInstalling gems...\nFetching gem metadata from https://rubygems.org/.........\nResolving dependencies...\nUsing memory_profiler 0.9.14\nUsing benchmark-memory 0.1.2\nUsing bundler 1.17.3\nUsing google-protobuf 3.15.6 (universal-darwin)\nUsing googleapis-common-protos-types 1.0.6\nUsing grpc 1.36.0 (universal-darwin)\nBundle updated!\nStarting grpc server...\nLetting server boot...\nBeginning benchmark...\nCalculating -------------------------------------\n              client     4.616M memsize (   160.040k retained)\n                        46.001k objects (     4.001k retained)\n                         6.000  strings (     0.000  retained)\nCalculating -------------------------------------\n              client     4.600M memsize (   153.720k retained)\n                        45.606k objects (     3.843k retained)\n                         6.000  strings (     0.000  retained)\nBenchmarks successful! Shutting down server...\nServer shutdown, benchmark finished successfully.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsplittingred%2Fprotobuf-315-leak","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsplittingred%2Fprotobuf-315-leak","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsplittingred%2Fprotobuf-315-leak/lists"}