|
Rank: Advanced Member Groups: Member
Joined: 2/11/2016 Posts: 35
|
Hi, I have a problem with opening some page. I got the exception: Quote: EO.Base.ChildProcessOutOfMemoryException: One of the child processes used by EO components reported an out of memory error.If your system has sufficient memory, please consider setting EO.Base.Runtime.EnableLargeAddressSpace to true.
I tried set EO.Base.Runtime.EnableLargeAddressSpace to true, but it didn't help. I can reproduce it with the URL http://testmy.net/upload in Tabbled Browser. In my application, I see empty console after loading a page, and something like memory leak(Tabbled Browser does not use the eowp*.exe, it seems use rundll) I attach the crash data file here: http://rgho.st/64XHHkfSNThe second issue with tabbled browser "Copy to Clipboard" button, it creates the exception: Quote:System.Threading.ThreadStateException: Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked on it.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
We tried to load the Url with our TabbedBrowser example and it works fine. Is there any specific step to follow in order to reproduce the problem?
As to the clipboard issue, can you explain how it is related to our product?
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 2/11/2016 Posts: 35
|
eo_support wrote:Hi,
We tried to load the Url with our TabbedBrowser example and it works fine. Is there any specific step to follow in order to reproduce the problem?
As to the clipboard issue, can you explain how it is related to our product?
Thanks! You can select "manual test size" and select first 100 Mb then wait for the crash. The crash file http://rgho.st/64XHHkfSN can't help? I created it like the link https://www.essentialobjects.com/doc/common/crash_report.aspxAbout clipboard issue: As I understand, the error window, I mean "Runtime Exception", it is your own window, and it's your "Copy to clipboard" button. It's happened in Tabbled browser too.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Thanks for the additional information. We didn't realize the "Copy to clipboard" was the button in the exception dialog. Now we are able to reproduce the problem and it will be fixed in our next build.
As to the memory consumption, the TabbedBrowser as is crashes as you described. However if we set EO.Base.Runtime.EnableLargeAddressSpace to true for TabbedBrowser, then it does not crash. The child process peeks at about 500MB and the upload test finishes successfully. This is similar to Chrome's memory consumption. We do not see the over 2G memory consumption in your screenshot. So you may want to find out what triggered that memory consumption (usually due to large buffers in your JavaScript code) and see if you can avoid it.
|
|
Rank: Advanced Member Groups: Member
Joined: 5/9/2016 Posts: 84
|
A related question, if EnableLargeAddressSpace is set to true (https://www.essentialobjects.com/doc/common/large_address_space.aspx) - what happens if the eowp.exe file is not distributed along with the application?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi, In that case our library will try to automatically create one in your temp folder. However that may cause user to be suspicious that something might be wrong. It is recommended that you use this method to create your own: https://www.essentialobjects.com/doc/eo.base.runtime.initworkerprocessexecutable.aspxThis allows you to customize both the location and file name of the exe file so that the end user will understand that it is used by your application. Thanks!
|
|