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 Reference Leak from Create client node #379

Open
KishorKumar2222 opened this issue Sep 2, 2024 · 1 comment
Open

Memory Reference Leak from Create client node #379

KishorKumar2222 opened this issue Sep 2, 2024 · 1 comment

Comments

@KishorKumar2222
Copy link

KishorKumar2222 commented Sep 2, 2024

Running the create client node is showing some unknown memory reference leak in desktop execution trace toolkit
image

AB#2844161

@jasonmreding
Copy link
Collaborator

jasonmreding commented Sep 12, 2024

I'm not sure what DETT tracks for leaks or how it tracks them, but I suspect this might be caused by the cleanup proc that gets registered. In this case, the cleanup proc calls DeregisterCleanupProc, but it doesn't call UnregisterPointer. This leaks the smart pointer which in turn prevents the underlying grpc channel from being cleaned up. However, that should only be an issue if the code doesn't explicitly close sessions and instead relies on LV to automatically cleanup references when the VI goes idle.

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

2 participants