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 #3

Closed
pahotari opened this issue Jan 11, 2024 · 2 comments
Closed

Memory leak #3

pahotari opened this issue Jan 11, 2024 · 2 comments

Comments

@pahotari
Copy link

Hello,

When I activate the webcam and use this demo for an extended period, it consumes all available GPU memory. Upon checking the console, I noticed a warning: "index.ts:175 High memory usage in GPU: 1173.86 MB, most likely due to a memory leak." I suspect that there might be an issue in roboflow.js.

I'm interested in creating a solution that functions well in a web browser, and roboflow.js seems like a good choice. However, the current memory leak issue prevents me from using it effectively. I'm curious if there are any plans to address and correct this memory leak in roboflow.js.

@MadeWithStone
Copy link
Collaborator

@pahotari We've released a new library called inferencejs which resolves the memory leak and is now implemented in the latest version of this repo. https://www.npmjs.com/package/inferencejs

@MadeWithStone
Copy link
Collaborator

closing as the issue has been resolved

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