Skip to content

feat: expose APIs to bind custom memory allocators #3896

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 7 commits into from

Conversation

adriangb
Copy link

Related to #3895.
I would like to use jemalloc to diagnose memory leaks and track heap usage.

adriangb added 7 commits June 11, 2025 07:47
The example was causing unit test failures because it was being included
in workspace tests. Moved it to be a standalone workspace member.
Added a CI job to verify both basic and jemalloc custom allocator examples work correctly.
Added a CI job to verify both basic and jemalloc custom allocator examples work correctly.
The doctest example uses jemallocator which is not available in the test
environment. Changed from no_run to ignore to prevent compilation errors.
@adriangb adriangb closed this Jun 14, 2025
@adriangb
Copy link
Author

I'm closing this because it's possible to use LD_FLAGS to patch in Jemalloc seamlessly. This may be useful for other allocators or use cases but since I no longer have a use for it I'm going to close this to save reviewers and my time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant