I'm using CEF to display a single page application. After extended periods running (10-50 hours range) the CEF renderer processes crashes. FYI all results listed below are with CEF windows 32 version from cefbuilds.com
As a work around I started triggering a reload of the page in OnRenderProcessTerminated. But after upgrading to CEF 3.2623.1401.gb90a3be - Chromium 49.0.2623.110 that work around is not automatically triggered anymore. Now it seems like Windows shows a "your program has crashed" dialog. If the user clicks "close program" then the OnRenderProcessTerminated callback is fired and the page reloads. If the user fails to click "close program" in a timely fashion all available process memory is exhausted and the entire program crashes irrecoverably (memory is consumed by calls to ExecuteJavaScript on the main browser frame queuing up to infinity).
Ideally I'd like to prevent the renderer process crashes all together. But the ridiculously long time to trigger a crash (10-50 hours) makes debugging this difficult. Any hints for how to attack this?
As an alternative just getting the OnRenderProcessTerminated callback to automatically fire again would be great.