{"id":19913805,"url":"https://github.com/vmprof/vmemprof","last_synced_at":"2025-07-21T00:34:14.177Z","repository":{"id":88449876,"uuid":"51914546","full_name":"vmprof/vmemprof","owner":"vmprof","description":"Memory profiler loosely based on various others","archived":false,"fork":false,"pushed_at":"2016-05-04T12:48:19.000Z","size":647,"stargazers_count":5,"open_issues_count":1,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-03T05:31:49.468Z","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/vmprof.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":"2016-02-17T10:28:45.000Z","updated_at":"2024-11-28T16:32:18.000Z","dependencies_parsed_at":"2023-03-13T18:24:30.293Z","dependency_job_id":null,"html_url":"https://github.com/vmprof/vmemprof","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vmprof/vmemprof","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmprof%2Fvmemprof","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmprof%2Fvmemprof/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmprof%2Fvmemprof/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmprof%2Fvmemprof/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vmprof","download_url":"https://codeload.github.com/vmprof/vmemprof/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmprof%2Fvmemprof/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266221402,"owners_count":23894966,"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-12T21:34:13.988Z","updated_at":"2025-07-21T00:34:14.163Z","avatar_url":"https://github.com/vmprof.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vmemprof\n\nUsage: vmemprof.py \u003cvmprof.dat\u003e\n\nWhere vmprof.dat is a profile file generated by vmprof with memory\nprofiling.\n\nIt visualizes total RSS of your program vs time and shows tracebacks\nfor each point. The example flask server will resample the data.\n\nThe basic interactive feature is zoom in, which can be done by clicking\non two points on the graph. Tracebacks will have all the python functions\non the stack (but not say Cython, pending future improvements to vmprof).\n\nUsage:\n\n```console\nsudo apt-get install python-dev\npip install -r requirements.txt\npython -m vmprof --mem -o vmprof-mem.dat\npython vmemprof.py vmprof-mem.dat\n```\n\nAlternatively, the following modifications have to be done to the program,\nif you're not using the command line interface, but the programmable API:\n\n```console\nimport vmprof\ntmpfile = open(\"vmprof-mem.dat\", \"w\")\nvmprof.enable(tmpfile.fileno(), 0.01, True)\ntry:\n   ... # your program\nfinally:\n   vmprof.disable()\n```\n\nWould write to a file \"vmprof-mem.dat\" vmprof information including\nthe memory data. Note that this profile is also usable for normal vmprof\nusage.\n\n## Interpreting the data\n\nData shown on the Y axis is the total memory consumed by the process\nin kilobytes (or megabytes). The X axis corresponds to the sample number\nand roughly correspond to the timestamp, depending on your sampling rate.\n\nYou can hover over the graph to see the traceback at each point in time.\n\nClicking on the graph twice would zoom in to a specific area if the resolution\nis not high enough\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmprof%2Fvmemprof","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvmprof%2Fvmemprof","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmprof%2Fvmemprof/lists"}