OOM crashes

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

OOM crashes

Postby smayoral » Thu Sep 10, 2020 4:59 am


I am having very sporadic OutOfMemory crashes in my application.
The users claim that the crashes happened without any user interaction. The application however could refresh some web content automatically.

Unfortunately I cannot check how much memory the chromium processes were using at the time of the crashes.

Chromium version is cef_binary_78.3.9+gc7345f2+chromium-78.0.3904.108 and chromium.log with LOGSEVERITY_WARNING is empty.

Operating system is Windows 10.

Any idea how to debug this further?


[Externer Code]
> libcef.dll!blink::ReportOOMErrorInMainThread(const char * location, bool is_js_heap) Zeile 95 C++
libcef.dll!v8::Utils::ReportOOMFailure(v8::internal::Isolate * isolate, const char * location, bool is_heap_oom) Zeile 0 C++
libcef.dll!v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate * isolate, const char * location, bool is_heap_oom) Zeile 456 C++
[Externer Code]
libcef.dll!v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector collector, const v8::GCCallbackFlags gc_callback_flags) Zeile 2061 C++
libcef.dll!v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace space, v8::internal::GarbageCollectionReason gc_reason, const v8::GCCallbackFlags gc_callback_flags) Zeile 1563 C++
[Inlineframe] libcef.dll!v8::internal::Heap::CollectAllGarbage(int flags, v8::internal::GarbageCollectionReason gc_reason, const v8::GCCallbackFlags gc_callback_flags) Zeile 1301 C++
libcef.dll!v8::internal::Heap::FinalizeIncrementalMarkingIfComplete(v8::internal::GarbageCollectionReason gc_reason) Zeile 3303 C++
[Inlineframe] libcef.dll!v8::internal::IncrementalMarkingJob::Task::Step(v8::internal::Heap * heap, v8::EmbedderHeapTracer::EmbedderStackState stack_state) Zeile 94 C++
libcef.dll!v8::internal::IncrementalMarkingJob::Task::RunInternal() Zeile 120 C++
[Inlineframe] libcef.dll!base::OnceCallback<void ()>::Run() Zeile 98 C++
libcef.dll!base::TaskAnnotator::RunTask(const char * trace_event_name, base::PendingTask * pending_task) Zeile 142 C++
libcef.dll!base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow * continuation_lazy_now, bool * ran_task) Zeile 366 C++
libcef.dll!base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() Zeile 221 C++
libcef.dll!base::MessagePumpDefault::Run(base::MessagePump::Delegate * delegate) Zeile 41 C++
libcef.dll!base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool application_tasks_allowed, base::TimeDelta timeout) Zeile 463 C++
libcef.dll!base::RunLoop::Run() Zeile 158 C++
libcef.dll!content::RendererMain(const content::MainFunctionParams & parameters) Zeile 214 C++
libcef.dll!content::RunOtherNamedProcessTypeMain(const std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>> & process_type, const content::MainFunctionParams & main_function_params, content::ContentMainDelegate * delegate) Zeile 582 C++
libcef.dll!content::ContentMainRunnerImpl::Run(bool start_service_manager_only) Zeile 875 C++
libcef.dll!content::ContentServiceManagerMainDelegate::RunEmbedderProcess() Zeile 52 C++
libcef.dll!service_manager::MainRun(service_manager::MainParams & params) Zeile 0 C++
libcef.dll!service_manager::Main(service_manager::MainParams & params) Zeile 477 C++
libcef.dll!content::ContentMain(const content::ContentMainParams & params) Zeile 19 C++
libcef.dll!CefExecuteProcess(const CefMainArgs & args, scoped_refptr<CefApp> application, void * windows_sandbox_info) Zeile 214 C++
libcef.dll!cef_execute_process(const _cef_main_args_t * args, _cef_app_t * application, void * windows_sandbox_info) Zeile 78 C++
[Externer Code]
Posts: 21
Joined: Wed Jan 10, 2018 8:58 am

Re: OOM crashes

Postby magreenblatt » Thu Sep 10, 2020 9:23 am

Are you using 32-bit or 64-bit binaries? If 32-bit, are you building with /LARGEADDRESSAWARE?
Site Admin
Posts: 10542
Joined: Fri May 29, 2009 6:57 pm

Re: OOM crashes

Postby smayoral » Thu Sep 10, 2020 10:39 am

yes, I have this link flag
Posts: 21
Joined: Wed Jan 10, 2018 8:58 am

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 39 guests