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

JNI native memory leak - release array elements #10981

Conversation

alanpaxton
Copy link
Contributor

@alanpaxton alanpaxton commented Nov 23, 2022

Closes #10980

Reproduced as per the suggestion in the ticket, and $ jcmd <PID> VM.native_memory | grep Internal reports that we are no longer leaking internal memory with the suggested fix.

I did the repro in MultiGetTest.java which I have optimized imports on. It did not seem helpful to leave the test code around as it would be onerous to build a memory leak reproducer, and regression seems a remote possibility.

Copy link
Contributor

@ajkr ajkr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@facebook-github-bot
Copy link
Contributor

@ajkr has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@adamretter
Copy link
Collaborator

Hi @ajkr @siying, just a polite enquiry - is there any progress towards getting this merged please?

@facebook-github-bot
Copy link
Contributor

@ajkr merged this pull request in 6a8920f.

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

Successfully merging this pull request may close these issues.

Native memory leak in rocksdbjni 7.7.3
4 participants