cvsandbox / cam2web

Streaming camera to web as MJPEG stream or individual JPEG snapshots. Providing embedded web UI for watching camera directly from a web browser.
http://www.cvsandbox.com/projects/cam2web/
GNU General Public License v2.0
183 stars 72 forks source link

Memory leak during video acquisition loop #25

Open MrBearman64 opened 4 years ago

MrBearman64 commented 4 years ago

Trying to manually start a video stream results in a memory leak, which crashes cam2web.

cvsandbox commented 4 years ago

Hello,

Did you use the latest code when reproducing the memory leak? There was one leak fixed on June 6th. https://github.com/cvsandbox/cam2web/commit/fb266b92d858eaf9ccffb8ec94153cdd0cd1dc61

When you run application from VS in Debug mode, do you get any memory leak report (provied by _CrtMemDumpAllObjectsSince()) in Output window?