Be able to differentiate different kinds of OOM crashes |
||
Issue descriptionCurrently, when Chrome OOMs there are a few cases that cannot be distinguished, which makes it hard to debug: - IndexedDB is incorrectly allocating a lot of memory - IDB is correctly allocating a lot of memory, but we shouldn't be allowing it because it causes a crash - IDB is allocating normally but we're hitting process memory limits We should update crash reports to tell us how much each module is allocating so that we can differentiate these cases. Assigning to SSID since they seem to have done some work in this area.
,
Apr 11 2016
There is a medium term plan to have traces in crash and in the background tracing (slow reports) infrastructure. But this is after Q2. > We should update crash reports to tell us how much each module is allocating so that we can differentiate these cases. The problem of this approach is: when shall we poll these values? we cannot poll at the time of the crash, as it is too late then. A short term solution while we get there would be updating crash keys setting memory requested by IDB every time it allocates more memory, but that feels to me something that IDB owners should do. Not sure what do you expect ssid@ to do here.
,
Apr 11 2016
Glad to hear that there's a roadmap to resolving this! No need to prioritize a short term solution if there's a medium term plan in place. I just wanted to file the bug to make sure the work item isn't lost :)
,
Apr 11 2016
Yup, I don't think this problem is specific to IDB. There is the general problem of: which component is the culprit for OOM crashes, and we need a more general solution there. |
||
►
Sign in to add a comment |
||
Comment 1 by ssid@chromium.org
, Apr 8 2016