pyheap

A heap dumper and analyzer for CPython based on GDB

APACHE-2.0 License

Stars
26

Bot releases are hidden (Show)

pyheap - v0.6.1 Latest Release

Published by ivanyu almost 2 years ago

  • Fix the CLI analyzer

Docker images:

  1. PyHeap UI: ivanyu/pyheap-ui:0.6.1
  2. PyHeap dumper: ivanyu/pyheap-dumper:0.6.1
pyheap - v0.6.0

Published by ivanyu almost 2 years ago

This release is focused on improvements to the dumper:

  1. The dumper no longer needs GDB to come with the target process (e.g. in a container). The GDB needs to be available only where the dumper itself runs.
  2. The dumper has now an option to run in a Docker container. The image ivanyu/pyheap-dumper will be built with each release.
  3. The dumper binary was renamed to pyheap_dump.
  4. The dumper runs some heuristics to determine if the target process is CPython.

Docker images:

  1. PyHeap UI: ivanyu/pyheap-ui:0.6.0
  2. PyHeap dumper: ivanyu/pyheap-dumper:0.6.0
pyheap - v0.5.0

Published by ivanyu almost 2 years ago

The release is focused on improvements to the UI:

  1. The search feature was added to the heap view.
  2. The object view was split into several views for clarity.
  3. The heap view now offers grouping by type.
  4. The loading and retained heap calculation progress bars were added.

PyHeap UI Docker image: ivanyu/pyheap-ui:0.5.0

pyheap - v0.4.0

Published by ivanyu almost 2 years ago

This release is focused on improvements to the dumper:

  1. The heap file is now automatically fetched from containers/namespaces. No more need for docker cp or similar after finishing the dump.
  2. The progress is reported when the dumper and target are in different mount namespaces.
  3. Docker containers are explicitly supported as targets. Just specify --docker-container instead of --pid to work with the root process of a container.

PyHeap UI Docker image: ivanyu/pyheap-ui:0.4.0

pyheap - v0.3.0

Published by ivanyu almost 2 years ago

This release is focused on improvements on the UI side.

  1. The retained heap calculator was sped up dramatically.
  2. The object view for a type object now shows the object instances.
  3. Small ergonomics improvements.

PyHeap UI Docker image: ivanyu/pyheap-ui:0.3.0

pyheap - v0.2.0

Published by ivanyu almost 2 years ago

This release is focused on improvements to the dumper:

  1. Containers / Linux namespaces are now supported. The target process doesn't have to have access to the injector and dumper code files.
  2. The dumper was packed into a single file pyheap_dump.pyz, which can be conveniently download from the release page.
  3. Some small error fixes and ergonomics improvements.

PyHeap UI Docker image: ivanyu/pyheap-ui:0.2.0

pyheap - v0.1.0

Published by ivanyu almost 2 years ago

First public release

PyHeap UI Docker image