Repository navigation
v1.21.0 #1112
godlygeek
announced in
Announcements
v1.21.0
#1112
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What's Changed
Features
rich,textual, andjinja2when generating a report that needs them. This reduces the startup time of commands that don't generate reports, likememray runandmemray attach. (Ensure user code never sees our 3rd party imports #994)Bug Fixes
memray transform csvnow keeps allocations separated by thread instead of merging them across threads, so thetidandthread_namecolumns always identify the thread that performed each allocation. This was always the documented behavior, but the implementation didn't match the documentation. Othermemray transformformats continue to merge allocations across threads. (Add --split-threads support to memray transform csv #996)DEBUGINFOD_URLSnow work correctly on Debian, Ubuntu, and other non-RHEL distros, andSSL_CERT_FILEandSSL_CERT_DIRenvironment variables are now honored as well. (Fix SSL cert loading on Debian-like distros #1109)memray attachwhen Memray is built from source for the latest release candidates of Python 3.15. (Handle multiarch tuples in the injecter filename #1014)realloc(ptr, 0)not being recorded as freeingptrwhen the allocator returnsNULLafter freeing the object, like glibc does, rather than a new distinct pointer, like most other malloc implementations do. (realloc(ptr, 0) on glibc leaves the freed block in the capture as a leak #1097)WorkerFailederror that could occur in thetreereporter if the tree was still being updated when the app began shutting down. (tree: Fix flakiness during app teardown #1107)memray run --livefreezing the tracked program once it has written more than 64 KiB to stderr. (memray run --live freezes the script after ~64 KiB of stderr output #1098)memray statscrashing on captures with no allocations or with only 0- or 1-byte allocations, and its allocation size histogram counting some sizes in a bin whose reported range excluded them. The last bin's upper bound is now exactly the largest allocation size. (memray stats crashes on some captures and mislabels histogram bins #1076)sys.pathwhose name issite-packagesas a site-packages directory for the purposes of deciding whether code came from an installed package. (test_extract_module_name_and_type_site_packages fails in nixpkgs #1081)--trace-python-allocatorsstarted or stopped while other threads were allocating memory, most often in free-threaded Python builds. (Segfault when stopping Python allocator tracing on free-threaded builds #1095)PyEval_SetProfileAllThreadsAPI on Python 3.12, rather than walking the interpreter's thread list ourselves and calling a private CPython function for each thread state. (Use PyEval_SetProfileAllThreads on Python 3.12 #1000)Improved Documentation
memray stats, including how thetotal_allocationsandtotal_framesmetadata fields differ fromtotal_num_allocations. (What is total_allocations? #807)New Contributors
Full Changelog: v1.20.0...v1.21.0
This discussion was created from the release v1.21.0.
All reactions