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

Memory leak when deleting object metadata #875

Open
denisvmedyantsev opened this issue Oct 23, 2024 · 1 comment
Open

Memory leak when deleting object metadata #875

denisvmedyantsev opened this issue Oct 23, 2024 · 1 comment
Assignees
Labels
bug Something isn't working enhancement New feature or request
Milestone

Comments

@denisvmedyantsev
Copy link
Contributor

It is assumed that when an object is deleted, all metadata associated with it is also deleted. Now, it is necessary to delete attributes separately, or the amount of memory occupied by the application will increase.

pseudocode

        for obj_meta in frame_meta.objects:
            nvds_remove_obj_attrs(frame_meta.frame_meta, obj.object_meta_impl.ds_object_meta)  # this line shouldn't be necessary
            frame_meta.remove_obj_meta(obj)
@bwsw bwsw added the enhancement New feature or request label Oct 24, 2024
@bwsw bwsw added this to the 0.5.0 milestone Oct 24, 2024
@bwsw
Copy link
Contributor

bwsw commented Oct 24, 2024

Backport to Savant 0.4.

@bwsw bwsw added the bug Something isn't working label Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants