Skip to content
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

Use GetStats without TCMalloc in project's build system. #259

Open
adamweis-qcom opened this issue Aug 21, 2024 · 0 comments
Open

Use GetStats without TCMalloc in project's build system. #259

adamweis-qcom opened this issue Aug 21, 2024 · 0 comments

Comments

@adamweis-qcom
Copy link

We have a proprietary project in which we need to understand some memory allocation issues. We would like to use the getStats function. We cannot integrate TCmalloc into our build system.

To deal with this we have attempted to use linux dlopen utilities to load this function in at runtime. When we try this, the function runs but returns a string full of garbage that varies run to run.

We have also created a toy example and followed this same procedure there, and encountered the same problem.

We are wondering if anyone has any experience with or thoughts on this?

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

No branches or pull requests

1 participant