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

[Java] Native memory release for temp Mat objects in Java bindings #4056

Merged
merged 2 commits into from
May 28, 2015

Conversation

apavlenko
Copy link
Contributor

Native memory cleanup; thanks to @sgjava for pointing to the problem (https://github.com/sgjava/opencvmem)

@apavlenko apavlenko changed the title Native memory release for temp Mat objects in Java bindings [Java] Native memory release for temp Mat objects in Java bindings May 26, 2015
@sgjava
Copy link
Contributor

sgjava commented May 26, 2015

This will help in situations where you process a lot of images since you couldn't control deallocating the Mats created inside the method.

@vpisarev
Copy link
Contributor

👍

@opencv-pushbot opencv-pushbot merged commit c1c03e1 into opencv:master May 28, 2015
@apavlenko apavlenko deleted the java_memory_release branch September 16, 2015 09:48
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.

5 participants