Skip to content
Discussion options

You must be logged in to vote

Sorry @rahulReddy2001, I didn't see a notification for this question!

Memray won't interpose the mimalloc allocator, so it won't totally work, but if you pass the --trace-python-allocators flag, Memray will see when allocations are made with PyMem_Malloc() or PyObject_Malloc() or PyMem_RawMalloc(). If you pass that flag whenever you're using mimalloc, things will work as you expect.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by godlygeek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants