|
Rank: Member Groups: Member
Joined: 7/17/2020 Posts: 14
|
Hi - we purchased a license today - and try to integrate WebControl to our application. It is quite unstable - while it sometimes works - we often get errors like this.
currently we try to to this:
this._WebBrowser = new WebControl(); this._WebBrowser.WebView = new EO.WebBrowser.WebView();
var postData = this.CreateRequest_FormUrlEncoded(paraFormatString, out string contentType); var request = new EO.WebBrowser.Request(this._IDSConfig.UrlAddress); request.PostData.SetRawData(postData); request.Method = "POST"; request.ContentType = contentType; this._WebBrowser.WebView.LoadRequest(request);
Eine Ausnahme vom Typ "System.OutOfMemoryException" wurde ausgelöst.
bei EO.Internal.rqmh.clse(String& mgv, Int32& mgw) bei EO.Internal.rqme.btan.stgk(rqmh mgh) bei EO.Internal.rqme.mlor(Boolean& mbv, rqmh[] mbw, String mbx, String mby) bei EO.Internal.rqme.bcau(rqmh[] mbs, String mbt, String mbu) bei EO.Internal.rqmf.bcau(String mgq, String mgr) bei EO.Internal.fics.vrjz() bei EO.Internal.fics.bhmm.aoqk() bei EO.Internal.rqhy.iqjq(Action klg) bei EO.Internal.fics.bwwv(WindowsIdentity fx) bei EO.WebEngine.Engine.Start(WindowsIdentity user) bei EO.WebEngine.Engine.Start() bei EO.Internal.fics.vrjy() bei EO.Internal.xbbg..ctor(WebView d) bei EO.WebBrowser.WebView.ddjz() bei EO.WebBrowser.WebView.ddjz(IntPtr fj, Boolean fk) bei EO.WebBrowser.WebView.Create(IntPtr hWnd) bei EO.WinForm.WebViewHost.hdqg(Object l)
|
|
Rank: Member Groups: Member
Joined: 7/17/2020 Posts: 14
|
seems the main problem is that the engine cannot be started? any reason why?
only does not work in that particular case - if i manually start the engine earlier in another place of the application if work without any problem?
EO.Base.dll!EO.Internal.rqmh.clse(out string mgv, out int mgw) Unbekannt EO.Base.dll!EO.Internal.rqme.btan.stgk(EO.Internal.rqmh mgh) Unbekannt EO.Base.dll!EO.Internal.rqme.mlor(ref bool mbv, EO.Internal.rqmh[] mbw, string mbx, string mby) Unbekannt EO.Base.dll!EO.Internal.rqme.bcau(EO.Internal.rqmh[] mbs, string mbt, string mbu) Unbekannt EO.Base.dll!EO.Internal.rqmf.bcau(string mgq, string mgr) Unbekannt EO.WebEngine.dll!EO.Internal.fics.vrjz() Unbekannt EO.WebEngine.dll!EO.Internal.fics.bhmm.aoqk() Unbekannt EO.Base.dll!EO.Internal.rqhy.iqjq(EO.Base.Action klg) Unbekannt EO.WebEngine.dll!EO.Internal.fics.bwwv(System.Security.Principal.WindowsIdentity fx) Unbekannt EO.WebEngine.dll!EO.WebEngine.Engine.Start(System.Security.Principal.WindowsIdentity user) Unbekannt EO.WebEngine.dll!EO.WebEngine.Engine.Start() Unbekannt > VenDoc.Module.B2B.IDS.Win.dll!VenDoc.Module.B2B.IDS.Win.Classes.IDSWebShopBrowser.MyNavigate(string paraFormatString) Zeile 171 C# VenDoc.Module.B2B.IDS.Win.dll!VenDoc.Module.B2B.IDS.Win.Classes.IDSWebShopBrowser.SendPurchaseOrderToShop(string warenkorbXml, bool wke) Zeile 76 C# VenDoc.Module.B2B.IDS.Win.dll!VenDoc.Module.B2B.IDS.Win.Controllers.IDSLineItemController.SendToShopAction_Execute(object sender, DevExpress.ExpressApp.Actions.SingleChoiceActionExecuteEventArgs e) Zeile 256 C# DevExpress.ExpressApp.v20.1.dll!DevExpress.ExpressApp.Actions.SingleChoiceAction.RaiseExecute(DevExpress.ExpressApp.Actions.ActionBaseEventArgs eventArgs) Unbekannt DevExpress.ExpressApp.v20.1.dll!DevExpress.ExpressApp.Actions.ActionBase.ExecuteCore(System.Delegate handler, DevExpress.ExpressApp.Actions.ActionBaseEventArgs eventArgs) Unbekannt DevExpress.ExpressApp.v20.1.dll!DevExpress.ExpressApp.Actions.SingleChoiceAction.DoExecute(DevExpress.ExpressApp.Actions.ChoiceActionItem selectedItem) Unbekannt DevExpress.ExpressApp.Win.v20.1.dll!DevExpress.ExpressApp.Win.Templates.ActionControls.Binding.WinSingleChoiceActionBinding.DoExecute(DevExpress.ExpressApp.Actions.ChoiceActionItem item) Unbekannt DevExpress.ExpressApp.v20.1.dll!DevExpress.ExpressApp.Templates.ActionControls.Binding.SingleChoiceActionBinding.ActionControl_Execute(object sender, DevExpress.ExpressApp.Templates.ActionControls.SingleChoiceActionControlExecuteEventArgs e) Unbekannt DevExpress.ExpressApp.Win.v20.1.dll!DevExpress.ExpressApp.Win.Templates.Bars.ActionControls.BarItemSingleChoiceActionControl<System.__Canon>.RaiseExecuteCore(DevExpress.ExpressApp.Actions.ChoiceActionItem actionItem) Unbekannt DevExpress.ExpressApp.Win.v20.1.dll!DevExpress.ExpressApp.Win.Templates.Bars.ActionControls.BarItemSingleChoiceActionControl<System.__Canon>.RaiseExecute(DevExpress.ExpressApp.Actions.ChoiceActionItem actionItem, bool askConfirmation) Unbekannt DevExpress.ExpressApp.Win.v20.1.dll!DevExpress.ExpressApp.Win.Templates.Bars.ActionControls.BarButtonItemSingleChoiceActionControl.BarItem_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) Unbekannt DevExpress.XtraBars.v20.1.dll!DevExpress.XtraBars.BarItem.OnClick(DevExpress.XtraBars.BarItemLink link) Unbekannt DevExpress.XtraBars.v20.1.dll!DevExpress.XtraBars.BarBaseButtonItem.OnClick(DevExpress.XtraBars.BarItemLink link) Unbekannt DevExpress.XtraBars.v20.1.dll!DevExpress.XtraBars.BarButtonItem.OnClick(DevExpress.XtraBars.BarItemLink link) Unbekannt DevExpress.XtraBars.v20.1.dll!DevExpress.XtraBars.BarItemLink.OnLinkClick() Unbekannt DevExpress.XtraBars.v20.1.dll!DevExpress.XtraBars.BarButtonItemLink.OnLinkClick() Unbekannt DevExpress.XtraBars.v20.1.dll!DevExpress.XtraBars.BarItemLink.OnLinkAction(DevExpress.XtraBars.BarLinkAction action, object actionArgs) Unbekannt DevExpress.XtraBars.v20.1.dll!DevExpress.XtraBars.BarButtonItemLink.OnLinkAction(DevExpress.XtraBars.BarLinkAction action, object actionArgs) Unbekannt DevExpress.XtraBars.v20.1.dll!DevExpress.XtraBars.ViewInfo.BarSelectionInfo.ClickLink(DevExpress.XtraBars.BarItemLink link) Unbekannt DevExpress.XtraBars.v20.1.dll!DevExpress.XtraBars.ViewInfo.BarSelectionInfo.UnPressLink(DevExpress.XtraBars.BarItemLink link) Unbekannt DevExpress.XtraBars.v20.1.dll!DevExpress.XtraBars.Controls.CustomLinksControl.OnMouseUp(System.Windows.Forms.MouseEventArgs e) Unbekannt System.Windows.Forms.dll!System.Windows.Forms.Control.WmMouseUp(ref System.Windows.Forms.Message m, System.Windows.Forms.MouseButtons button, int clicks) Zeile 7898 C# System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref System.Windows.Forms.Message m) Zeile 8446 C# DevExpress.XtraBars.v20.1.dll!DevExpress.XtraBars.Controls.CustomControl.WndProc(ref System.Windows.Forms.Message msg) Unbekannt DevExpress.XtraBars.v20.1.dll!DevExpress.XtraBars.Controls.DockedBarControl.WndProc(ref System.Windows.Forms.Message msg) Unbekannt System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref System.Windows.Forms.Message m) Zeile 14132 C# System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref System.Windows.Forms.Message m) Zeile 14142 C# System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.Callback(System.IntPtr hWnd, int msg, System.IntPtr wparam, System.IntPtr lparam) Zeile 316 C# [Übergang von Nativ zu Verwaltet] [Übergang von Verwaltet zu Nativ] System.Windows.Forms.dll!System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(System.IntPtr dwComponentID, int reason, int pvLoopData) Zeile 1293 C# System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(int reason, System.Windows.Forms.ApplicationContext context) Zeile 2534 C# System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoop(int reason, System.Windows.Forms.ApplicationContext context) Zeile 2448 C# System.Windows.Forms.dll!System.Windows.Forms.Application.Run() Zeile 616 C# DevExpress.ExpressApp.Win.v20.1.dll!DevExpress.ExpressApp.Win.WinApplication.DoApplicationRun() Unbekannt DevExpress.ExpressApp.Win.v20.1.dll!DevExpress.ExpressApp.Win.WinApplication.Start() Unbekannt VenDoc.Module.Win.dll!VenDoc.Module.Win.Classes.VDWinApplication.Start() Zeile 141 C# VenDoc.Win.exe!VenDoc.Win.Program.Main(string[] args) Zeile 131 C#
|
|
Rank: Member Groups: Member
Joined: 7/17/2020 Posts: 14
|
here the logs if they are helpful:
Begin_Block_1 gAAAADF1tLInhRqe8pB8WbdDPUsNpLqTmOaJ1ctd8a8E4urgFNwoRBR95OlR2zFyHkAvoVO2y5ue d0DMzuw5wC1LBhifuIcLdpuRY7ZR+Pb3wDR9KtnPw5Qq1mZIJCmHq4mU7PqcrBX/FayMUPOYQ7Kd J/6G5Vz1aH98TJuA0Hqu0UN0EAAAAJA2WmexvMJyeAkFZKeQ+OXQEQAADh3s/JfBLlsNevKXdvPB AoznS4PW3Jebnk2D9jdsCIZWT5RIEftPf0WkXN2a42T0CkDkJSu+ennCSpBBswr6WiT/gmb8Hngi EKjiskM1hY/WnIFxNU9xgli5b7p53TOx1JXTUm48q4EkwFPnIwCl2HJYwD7zJReYuHLKYlgI1AVG NX3r70xUxWZAa6CUnT5qb38+OAdigA0hSVJyge1qwU6xUPt8cB+JvPhYafgTHmPgUEn2AwwWJrmx 6ybaZ3f4IxAd3OaNiXaT0bv1fDuX9d3zZ9gSw6NVSFJ5jqcj3/Hi6wQIGCubEsfHSlnIitmLSLZ7 dPkohdfALAiIayJIilbMDj/g9w8sv1pVFIONtFbdN4wvoz7ckGPExua/0SNjzTUYSXeOCn13Gitm 7gh+07VRAeIk9sGcRlHDiDjGvLNdgzRlDdNO1VwKqZvOp5o6tMq2OjWfiHrT5PB6bpoAmH8pSqt5 RdJ1rWDZgtJBO2pbCJ6BLtgsj3MQqCUljnvr1lwSmGEMVja3M+m8U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ZjJKszRXgSSSGGxO3/XkAhplQKRjNwKEkDu+6ppIR6U8Mm+YRt+k9zrPHJv6dSRa02 h79EIH3PvKs/rpjP0Owzgb6l8GgF1rqTYF1gYs0HASjhM4kl2ENkMhZLlTD8PowO2dBo0A44ulrJ DhWZqEZM3XMalT4G68iqUE/RVLRImK/u9oe89/t987RmtWkItt6wpbJnEOUHIvez3a7jrIH97gSR EgzBcN6TRs0SPdN4oUU8rQr/sKMCkB8nurxFMtic/ytk0z/bV6LAqTJRLLaTFzM7IUWVQ9cBNvlH tId9+wRFMaXkGKmdb16eziqvNER6W0bguACDRM2rhGD3zLu7BGVd5ma47MHdqJuACQoXlGZT9ifW McK3GPh3/KAEL8Geqxz80AZ1SvYU9CAFyYgtwfqlwnKJ/7UhFnK/Atdaz33/lwpyki6T8ArgzBWa NE5kD9/4j0ioBICq9uEoQldvyvJTnksLRKAn6NV9ITdQ2DB+9o3UZ9m1B+CpSgS9ZiBHZMjeKn2/ YpKJm8SYRbNHYb/q2A9A6mcRGHFqv2XuMo5kznCl0hkfa+HGN7bZ1hl5DA0a9UThDVwDnvHqehRP p84KhYTkd6ROmCls5oZ3MAG0VUM+5+gms3E7LEIeVYU1HykSFtLdPInYhvRuw3byBIWlN2WHomC/ Mh3h6AFMr6WuaTCNb7AxJLy/87sAOyp2VMW8kUMr741jILf/TuNnuvI8n6hK2SLB1h7mTFPQv0vS MZ5mU+r6ynVo+PZ4EJpYa/E5XK5gJIbN4jx2lg3F7MhotKl8A5cBt1NDoyHHQjtbHyYt0JXwBybB 2R7URbKU5KJyYL7Lc2qIRXK++6zUaEPKKCNqJhpgHlr/q2AsGKweK2OXyysaMoVvcYOKTo1oRE20 6OU6McnPPwBLVonbwR87e2ncA6oMx7GFOlt2hrIZvog= End_Block_2
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
This indeed an out of memory issue. When the engine starts, it needs to allocate a big chunk of continuous memory (over 70M) to load the native browser engine. This part is failing in your application.
Note that:
1. It is possible that your system does have plenty of memory available but that does not mean your application will have enough available. If your application runs in 32 bit mode, then the entire process will only have up to 2GB (or 4GB) memory space available. In this case if you run close to this per process memory limit, even if your system has plenty of available memory, it will still fail; 2. If it also possible that even if your application does indeed has more than 70M available (out of 4GB/2GB total), the memory allocation will still fail because there isn't a single continuously free block that big. In another word, all the free blocks are scattered around;
In either case, this explains why when you start Engine earlier (when your application has more free memory avalialbe) it would work, but later (when memory usage is already high or fragmented) it would not.
In order to resolve this issue, you must resolve the memory issue. There are a few options:
1. If you can switch your application from 32 bit mode to 64 bit mode, it should increase your process's available memory space significantly; 2. If that is not possible, try to call GC.Collect periodically might be able to free up memory space for you or move/consolidate free blocks so that a big free block is possible; 3. If neither #1 or #2 is possible, then you can simply start the Engine early. Starting the Engine early will not have any negative impact on performance;
Hope this helps. Please feel free to let us know if you still have any more questions.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 7/17/2020 Posts: 14
|
Hi,
i dont think this is a memory issue. starting the engine works fine if i start it shortly before. it simply does not work in this particular case - there is plenty of memory available - i can stably reproduce the error in my application after a fresh restart!
|
|
Rank: Member Groups: Member
Joined: 7/17/2020 Posts: 14
|
do my surprise today it works without any problems - really strange. i restarted my machine several times yesterday - and the issue also happens after a fresh application restart. application uses only about 500MB - and machine has 32GB of ram.
|
|
Rank: Member Groups: Member
Joined: 7/17/2020 Posts: 14
|
it is very unstable - :( today i get this exception?
MapViewOfFile failed, Win32 Error: 8
bei EO.Internal.rqmh.clse(String& mgv, Int32& mgw) bei EO.Internal.rqme.btan.stgk(rqmh mgh) bei EO.Internal.rqme.mlor(Boolean& mbv, rqmh[] mbw, String mbx, String mby) bei EO.Internal.rqme.bcau(rqmh[] mbs, String mbt, String mbu) bei EO.Internal.rqmf.bcau(String mgq, String mgr) bei EO.Internal.fics.vrjz() bei EO.Internal.fics.bhmm.aoqk() bei EO.Internal.rqhy.iqjq(Action klg) bei EO.Internal.fics.bwwv(WindowsIdentity fx) bei EO.WebEngine.Engine.Start(WindowsIdentity user) bei EO.WebEngine.Engine.Start() bei EO.Internal.fics.vrjy() bei EO.Internal.xbbg..ctor(WebView d) bei EO.WebBrowser.WebView.ddjz() bei EO.WebBrowser.WebView.ddjz(IntPtr fj, Boolean fk) bei EO.WebBrowser.WebView.Create(IntPtr hWnd) bei EO.WinForm.WebViewHost.hdqg(Object l)
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
This is exactly the same error. Error 8 is ERROR_NOT_ENOUGH_MEMORY.
I have already explained to you why you are getting out of memory exception. You will need to do what we suggested you to do in order to avoid this error. Just keep trying the same thing will not resolve the issue for you.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 7/17/2020 Posts: 14
|
thx - but i can also say we do not have an memory issue. we have i complex application and an OOM would happen even happen further in other parts of the application.
the exception is only thrown since using your webcontrol and also only by your webcontrol - the machine has plenty of memory availbable - also the current process has enough free memory available. any way to somehow further isolate that?
|
|
Rank: Member Groups: Member
Joined: 7/17/2020 Posts: 14
|
attached a screenshot as it happens just again - machine 32GB - 15 available - process was newly started - 500 only used
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
I am not sure how else we can explain this better to you. To start with, it is not us that is reporting out of memory error. It is Windows that is reporting out of memory error. We can not change Windows' behavior. On the other hand, we can not reduce the memory block we need either because the browser engine does take that much memory to be loaded. You can argue with us all day long about whether you have enough memory or not, but that will not change what you have to do to resolve the issue. Your options are still exactly the same as we stated in our previous reply.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 7/17/2020 Posts: 14
|
Ok thanks - if it is Windows i try to track this down why this is happening! thanks for your help!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
eo_support wrote:Hi,
This indeed an out of memory issue. When the engine starts, it needs to allocate a big chunk of continuous memory (over 70M) to load the native browser engine. This part is failing in your application.
Note that:
1. It is possible that your system does have plenty of memory available but that does not mean your application will have enough available. If your application runs in 32 bit mode, then the entire process will only have up to 2GB (or 4GB) memory space available. In this case if you run close to this per process memory limit, even if your system has plenty of available memory, it will still fail; 2. If it also possible that even if your application does indeed has more than 70M available (out of 4GB/2GB total), the memory allocation will still fail because there isn't a single continuously free block that big. In another word, all the free blocks are scattered around;
In either case, this explains why when you start Engine earlier (when your application has more free memory avalialbe) it would work, but later (when memory usage is already high or fragmented) it would not.
In order to resolve this issue, you must resolve the memory issue. There are a few options:
1. If you can switch your application from 32 bit mode to 64 bit mode, it should increase your process's available memory space significantly; 2. If that is not possible, try to call GC.Collect periodically might be able to free up memory space for you or move/consolidate free blocks so that a big free block is possible; 3. If neither #1 or #2 is possible, then you can simply start the Engine early. Starting the Engine early will not have any negative impact on performance;
Hope this helps. Please feel free to let us know if you still have any more questions.
Thanks! I have already explained to you very clearly how this can happen in the above reply. If you have any question about any point in this reply, please feel free to ask.
|
|