We made an Office add-in using a EO.WebBrowser.Webview control. In our configuration, we always use EO.Base.Runtime.EnableEOWP = true, so that eowp.exe is started to host the Chrome engine.
Customers using (Citrix) terminal server report an issue with our add-in: specifically opening a new iframe regularly does not work when the terminal server is busy. They claim the problem started after we upgraded to EO Total 2018. We currently ship our product with version 18.3.46.0, before that we were using version 16.2.23.0.
Eowp.exe memory leak on creating iframesThis morning, I observed an employee of a customer having this problem when she was using our add-in. What I could see is that each time a new iframe is opened, memory consumption of eowp.exe increased, but the memory is not released when the frame is closed again. We could easily reproduce the problem by repeatedly opening and closing the frame.
Not timely releasing resources is always a problem on a terminal server. Are there any settings that can improve this for eowp.exe?
EO.Base.Runtime.ShutdownWhen experimenting on my development machine, I found that EO.Base.Runtime.Shutdown() immediately shuts down all started eowp.exe processes. This would be a great improvement in a terminal server environment, but it has a major problem: it seems impossible to again use a new webview once the engine was shutdown. I had expected that new eowp.exe processes would be created as needed, but that doesn't happen end the webview will not work again unless the host process is restarted.
I tried this, but it doesn't help:
Code: C#
if (EO.Base.Runtime.HasShutdown)
EO.Base.Runtime.InitWorkerProcessExecutable(sEOWPExePath);
How is this supposed to work? I really would like to be able to shutdown and restart the engine.