hiukim / mind-ar-js

Web Augmented Reality. Image Tracking, Face Tracking. Tensorflow.js
MIT License
2.13k stars 394 forks source link

Memory leak issue #386

Closed BoraYang closed 5 months ago

BoraYang commented 1 year ago

Is there anyone who was encountered with a memory leak issue?

After 15 mins of app running, the app's JavaScript memory usage increases up to around 250,000K and makes Chrome freeze.

Probably I'm doing something wrong with the library, but I want to know how to solve this memory leak issue.

Screenshot 2023-04-07 at 11 49 40 AM

hiukim commented 1 year ago

@BoraYang

can you try with the deployed version: https://hiukim.github.io/mind-ar-js-doc/face-tracking-samples/three-facemesh.html

Just to make sure it's not caused by your localhost server.