Hi Christian,

I've discovered what I believe is a small but troubling memory leak in the 
method 
HTMLViewer.EvaluateJavaScriptMBS on mac and the corresponding function 
IERunJavaScriptMBS.

In tests where I call either function about 50 times per second with small 
commands, I'm seeing leaks that can be as fast as 100KB/second.   The commands 
are short javascript functions which query the play status of a plugin (flash 
or quicktime or html5 video).


Since it's leaking on both Mac and Windows when querying either SWF or 
QuickTime or HTML5 video objects, this suggests to me that like the leak may be 
in MBS, rather than, say a leak in IE or WebKit or just Flash or QuickTime 
plugins.

I'm seeing this in MBS 10.1.

Questions:
* can you see an obvious place in your code where the leak is happening?  
* can you fix it?
* if so, can I pay you to make a custom build of 10.1 (I need to issue a quick 
update of my software to fix this and prefer to not update to a later MBS for 
obvious unit-test reasons).

Thanks!

n.b.:  the leaked memory appears to be released if I reload a blank page in the 
HTMLViewer (on mac) or if I issue htmlViewer.close (win32).   Although this is 
a workaround for the leak, there are cases where it's not practical to reload 
the page as some customers expect the software to be running 24/7 without 
interruption.


_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to