You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this is a kind of memory leak or unreleased resource behaviour.
At the time we click the "view" button, the "mjpeg_canvas" variable seems to be released,
I could see a sample image with rwt_image_view.
(e.g. like below)
But after clicking the "view" button for 6 or 7 times, the MjpegCanvas goes wrong.
The terminal message was
After the browser refresh, I could see the image and got these message.
I think this is a kind of memory leak or unreleased resource behaviour.
At the time we click the "view" button, the "mjpeg_canvas" variable seems to be released,
visualization_rwt/rwt_image_view/www/js/rwt_image_view_main.js
Lines 51 to 55 in 2504cd0
but the MJPEGCANVAS.Viewer class has "setInterval" function,
https://github.com/rctoris/mjpegcanvasjs/blob/6e903db97006976fff4d4efed344962250362b82/build/mjpegcanvas.js#L310
and this disturb the GC (cf. https://www.ibm.com/developerworks/jp/web/library/wa-jsmemory/index.html)
I tried adding the "clearInterval()" method to the web_video_server, and it seems to be working.
If anyone report same behaviour, it helps me.
The text was updated successfully, but these errors were encountered: