Not enough memory resources are available to process this command. (Exception from HRESULT: 0x80070008) #3583
-
Hello, A couple of our customers are having intermittent problems when they use our application to create a CefSharp browser. This is the exception caught by our application:
Our WebBrowser class extends CefSharp as follows: The problem is intermittent so I believe we can rule out a dependency issue. What I've confirmed so far:
I assume this is a resource problem, possibly Windows desktop heap, and that's why no errors are being logged to the event log etc. by CefSharp. I've looked at unmanaged-crashes-when-the-process-dies, but as it's potentially a resource problem would a crash be reported? Or does anyone have any other suggestions on how to diagnose this? Our application is WinForms, .NET Framework 4.7.2 using CefSharp 73.1.130. Thanks for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Make sure your application is
What software did you use to get the memory usage? What value is less than See https://mahdytech.com/2019/01/05/task-manager-memory-info/
Best guess would be that the process is attempting to load
Based on the stack trace it's unlikely loading |
Beta Was this translation helpful? Give feedback.
Make sure your application is
LargeAddressAware
. See https://github.com/cefsharp/CefSharp/wiki/General-Usage#win32-out-of-memoryWhat software did you use to get the memory usage? What value is less than
500mb
exactly? Does the machine have enough free memory?See https://mahdytech.com/2019/01/05/task-manager-memory-info/