{"id":32169644,"url":"https://github.com/timuryan/sherlock_mem","last_synced_at":"2026-02-21T03:31:08.616Z","repository":{"id":57547444,"uuid":"211328780","full_name":"timuryan/sherlock_mem","owner":"timuryan","description":"Elixir memory usage tracer for GenServer processes","archived":false,"fork":false,"pushed_at":"2020-01-06T21:35:02.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-21T16:46:10.502Z","etag":null,"topics":["elixir","genserver","performance-metrics"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/timuryan.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}},"created_at":"2019-09-27T13:44:58.000Z","updated_at":"2020-01-06T21:35:05.000Z","dependencies_parsed_at":"2022-09-26T18:40:50.028Z","dependency_job_id":null,"html_url":"https://github.com/timuryan/sherlock_mem","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/timuryan/sherlock_mem","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timuryan%2Fsherlock_mem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timuryan%2Fsherlock_mem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timuryan%2Fsherlock_mem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timuryan%2Fsherlock_mem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timuryan","download_url":"https://codeload.github.com/timuryan/sherlock_mem/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timuryan%2Fsherlock_mem/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29672704,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T03:11:15.450Z","status":"ssl_error","status_checked_at":"2026-02-21T03:10:34.920Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["elixir","genserver","performance-metrics"],"created_at":"2025-10-21T16:35:47.686Z","updated_at":"2026-02-21T03:31:08.608Z","avatar_url":"https://github.com/timuryan.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SherlockMem\n\nMemory usage tracer for GenServer processes.\n\n## Installation\n\nThe package can be installed by adding `sherlock_mem` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [{:sherlock_mem, \"~\u003e 0.1.3\"}]\nend\n```\n\n## Basic Usage\n\n- Add \"use SherlockMem\" in each GenServer module like this:\n\n```elixir\ndefmodule Slack do\n  use GenServer\n  use SherlockMem\n...\nend\n```\n\n- At runtime enable tracing module by running in iex console:\n\n```elixir\nSherlockMem.enable(Slack)\n```\n\n- For each init callback there will be messages like this:\n\n```console\nprint_mem_before \u003cpid\u003e \u003cmemory_used\u003e \"init_before\" \u003cinitial arguments\u003e\nprint_mem_after  \u003cpid\u003e \u003cmemory_used\u003e \"init_after \" \u003cfinal state\u003e\n```\n\n- Library is wrapping standard GenServer callbacks: init, handle_cast, handle_call, handle_info\n\n### More details\n\n- default log level is info\n- it's using recon to get current process memory usage\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimuryan%2Fsherlock_mem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimuryan%2Fsherlock_mem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimuryan%2Fsherlock_mem/lists"}