{"id":47662108,"url":"https://github.com/modbender/hprof-analyzer","last_synced_at":"2026-04-02T11:34:03.939Z","repository":{"id":343407736,"uuid":"1177584890","full_name":"modbender/hprof-analyzer","owner":"modbender","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-10T12:06:35.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-10T15:09:17.886Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/modbender.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["modbender"],"patreon":"modbender","open_collective":null,"ko_fi":"modbender","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"custom":["paypal.me/modbender"]}},"created_at":"2026-03-10T06:58:44.000Z","updated_at":"2026-03-10T12:06:29.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/modbender/hprof-analyzer","commit_stats":null,"previous_names":["modbender/hprof-analyzer"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/modbender/hprof-analyzer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modbender%2Fhprof-analyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modbender%2Fhprof-analyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modbender%2Fhprof-analyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modbender%2Fhprof-analyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/modbender","download_url":"https://codeload.github.com/modbender/hprof-analyzer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modbender%2Fhprof-analyzer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31305613,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T09:48:21.550Z","status":"ssl_error","status_checked_at":"2026-04-02T09:48:19.196Z","response_time":89,"last_error":"SSL_read: 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":"2026-04-02T11:34:03.474Z","updated_at":"2026-04-02T11:34:03.932Z","avatar_url":"https://github.com/modbender.png","language":"Go","funding_links":["https://github.com/sponsors/modbender","https://patreon.com/modbender","https://ko-fi.com/modbender","paypal.me/modbender"],"categories":[],"sub_categories":[],"readme":"# hprof-analyzer\n\nA fast CLI tool for analyzing Java HPROF heap dumps — a lightweight alternative to Eclipse MAT.\n\n## Features\n\n- **Streaming analysis** — summary, histogram, and string extraction without building a full index\n- **In-memory indexing** — build an index for deep analysis of object graphs\n- **Dominator tree** — find the largest retained-size contributors\n- **GC root paths** — trace why an object is kept alive\n- **OQL engine** — query heap dumps with SQL-like syntax (SELECT/FROM/WHERE/GROUP BY/ORDER BY/LIMIT)\n- **Leak detection** — automated leak-suspect analysis\n- **Multiple output formats** — table, JSON, CSV\n- **Self-upgrade** — update to the latest release with a single command\n- **Zero dependencies** — single static binary, no JVM required\n\n## Installation\n\n### Download from releases (Linux / macOS)\n\n```bash\ncurl -sLo /usr/local/bin/hprof-analyzer \"https://github.com/modbender/hprof-analyzer/releases/latest/download/hprof-analyzer_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/' | sed 's/aarch64/arm64/')\"\nchmod +x /usr/local/bin/hprof-analyzer\n```\n\n### Download from releases (Windows)\n\n```powershell\n$arch = if ($env:PROCESSOR_ARCHITECTURE -eq \"ARM64\") { \"arm64\" } else { \"amd64\" }\nInvoke-WebRequest -Uri \"https://github.com/modbender/hprof-analyzer/releases/latest/download/hprof-analyzer_windows_${arch}\" -OutFile \"$env:LOCALAPPDATA\\Microsoft\\WindowsApps\\hprof-analyzer.exe\"\n```\n\n### Go install\n\n```bash\ngo install github.com/modbender/hprof-analyzer/cmd/hprof-analyzer@latest\n```\n\n### Self-upgrade\n\n```bash\nhprof-analyzer upgrade\n```\n\n## Quick Start\n\n```bash\n# Print heap dump summary\nhprof-analyzer summary dump.hprof\n\n# Class histogram (top 20 by retained size)\nhprof-analyzer histogram dump.hprof --top 20\n\n# Find large strings\nhprof-analyzer strings dump.hprof --min-length 100\n\n# Build index for deep analysis\nhprof-analyzer index dump.hprof\n\n# Dominator tree (requires index)\nhprof-analyzer domtree dump.hprof --top 10\n\n# GC root paths for a specific object\nhprof-analyzer gcroots dump.hprof --id 0x7f3a00\n\n# OQL query\nhprof-analyzer oql dump.hprof \"SELECT className, count(*) FROM instanceof java.lang.String GROUP BY className\"\n\n# Automated leak detection\nhprof-analyzer leaks dump.hprof\n\n# Output as JSON\nhprof-analyzer histogram dump.hprof --format json\n```\n\n## Building from Source\n\n```bash\ngit clone https://github.com/modbender/hprof-analyzer.git\ncd hprof-analyzer\nmake build\n./bin/hprof-analyzer version\n```\n\n## Contributing\n\nThis project uses [conventional commits](https://www.conventionalcommits.org/):\n\n- `feat:` — new feature (minor version bump)\n- `fix:` — bug fix (patch version bump)\n- `feat!:` or `BREAKING CHANGE:` — breaking change (major version bump)\n- `docs:`, `test:`, `ci:`, `chore:` — no version bump\n\n```bash\n# Run tests\nmake test\n\n# Run linter\nmake vet\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodbender%2Fhprof-analyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmodbender%2Fhprof-analyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodbender%2Fhprof-analyzer/lists"}