roboflow / external-bugtracker

1 stars 2 forks source link

Roboflow.js memory leak #18

Open pahotari opened 5 months ago

pahotari commented 5 months ago

Hello,

I tried homepage-demo: https://github.com/roboflow/homepage-demo.

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.

slatlas commented 1 month ago

I am seeing this as well.

pahotari commented 1 week ago

@glenn-jocher are there any plans to correct roboflow.js problems?