Skip to content

Conversation

@tomskikh
Copy link

Unmap is needed to prevent memory leaks. I.e. using get_nvds_buf_surface on Jetson Xavier NX causes memory leaks since it maps buffer to CPU but don't unmap it. See https://forums.developer.nvidia.com/t/memory-leak-on-xavier-nx/234438 for details.

Unmap is needed to prevent memory leaks.I.e. using get_nvds_buf_surface on Jetson
Xavier NX causes memory leaks since it maps buffer to CPU but don't unmap it.
See https://forums.developer.nvidia.com/t/memory-leak-on-xavier-nx/234438 for details.
tomskikh added a commit to insight-platform/Savant that referenced this pull request Dec 14, 2022
tomskikh added a commit to insight-platform/Savant that referenced this pull request Dec 14, 2022
tomskikh added a commit to insight-platform/Savant that referenced this pull request Dec 14, 2022
@nv-zhliu
Copy link
Collaborator

Hi tomskikh, thank you for helping us improve the bindings. This repo is currently not set up to take pull requests directly but we will have bindings for NVBufSurfaceMap in our upcoming release.

@nv-zhliu nv-zhliu closed this Dec 15, 2022
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.

2 participants