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

Can not free gpu memory #7

Open
TuyenNL2002 opened this issue Nov 3, 2024 · 0 comments
Open

Can not free gpu memory #7

TuyenNL2002 opened this issue Nov 3, 2024 · 0 comments

Comments

@TuyenNL2002
Copy link

Hi, I have a problem when freeing memory: using cuda_preprocess_destroy() does not free everything, in addition, if I declare and use 02 objects "YOLOv11 yolo1, yolo2;" on the same app, when calling cuda_preprocess_destroy() for yolo2, it makes yolo1 have an error "System.AccessViolationException: Attempted to read or write protected memory".

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

1 participant