
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Warning: This probably shouldn't be used for anything important. It requires patching and building a custom Ruby
Produces a png of a json dump of the Ruby objspace. Heap dump images are organised in rows and columns:
This script requires a commit that recently landed on Ruby master to
add a slot_size
field to the output of ObjectSpace.dump_all
. Use
your Ruby version manager of choice to install the development release
of Ruby and then write a script that dumps the heap to a file.
require 'objspace'
ObjectSpace.dump_all(output: File.new("output.json", "w"))
Run it with Ruby
./ruby test.rb
Then run this script with your json output, and a filename of a png to write to (the png doesn't need to exist)
../heapviz/exe/heapviz output.json output.png
open output.png
FAQs
Unknown package
We found that heapviz demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.