by Egle » Fri Dec 18, 2020 12:03 pm
Thanks for the reply,
The parent process, the renderer is killed and restarted because one of its child processes CefSharp.BrowserSubprocess.exe, reaching the threshold of
<add key="RamThreshold" value="400000" /> <!-- RamThreshold is express in Kb --> the limit is reached in less than an hour.
The renderer must be active 24/24 on ATM, and navigate on HTML predefinited screens.
After I have implemented the suggested fix for LargeAddressAware (the application is x86) memory consumption has dropped significantly, but random crashes are now occurring and I report stack traces:
System.Runtime.InteropServices.SEHException was unhandled
ErrorCode=-2147467259
HResult=-2147467259
Message=External component has thrown an exception.
Source=CefSharp.BrowserSubprocess.Core
StackTrace:
at CefExecuteProcess(CefMainArgs* , scoped_refptr<CefApp>* , Void* )
at CefSharp.BrowserSubprocess.SubProcess.Run() in c:\projects\cefsharp\cefsharp.browsersubprocess.core\subprocess.h:line 56
at CefSharp.BrowserSubprocess.Program.Main(String[] args) in C:\projects\cefsharp\CefSharp.BrowserSubprocess\Program.cs:line 52
InnerException:
Event Viewer
Faulting application name: CefSharp.BrowserSubprocess.exe, version: 75.1.143.0, time stamp: 0x5dbe3f08
Faulting module name: KERNELBASE.dll, version: 6.1.7601.17514, time stamp: 0x4ce7b8f0
Exception code: 0xe0000008
Fault offset: 0x0000b760
Faulting process id: 0x80c
Faulting application start time: 0x01d6d54a20ba10e6
Faulting application path: R:\BIN\CefSharp.BrowserSubprocess.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 031da3a1-4141-11eb-a99b-080027500cd0
Application: CefSharp.BrowserSubprocess.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Runtime.InteropServices.SEHException
at <Module>.CefExecuteProcess(CefMainArgs*, scoped_refptr<CefApp>*, Void*)
at CefSharp.BrowserSubprocess.SubProcess.Run()
at CefSharp.BrowserSubprocess.Program.Main(System.String[])