New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 780935 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature



Sign in to add a comment

Improve devtools network XHR capture to prevent OOM on long running debugging sessions

Project Member Reported by wolenetz@chromium.org, Nov 2 2017

Issue description

From chat with joeyparrish@ today, long-running mediasource web app debugging sessions with devtools network window open to capture XHR network info can eventually crash due to OOM (because mediasource apps make lots of network XHR fetches for various segments of media; note that such requests are not differentiable as "media").

This bug is to investigate and implement options to mitigate such OOM crashing, such as (rough ideas):
1) Allow option to just retain network headers but not full response bodies, 
2) switch to option 1 when memory pressure indicates it's needed?
 

Comment 1 by l...@chromium.org, Nov 2 2017

Cc: allada@chromium.org
Another idea:  I could also avoid OOM and still monitor what matters to me if I were able to apply a filter to the recording of network traffic, rather than just the view.
IMHO c#2 is better than my option 1 because it would allow more flexible filtering options ideally (eg. retain headers and response body, but for only certain requests as defined in the custom filter).
Owner: allada@chromium.org
Status: Assigned (was: Untriaged)
Owner: eostroukhov@chromium.org
DevTools will only collect up to 800Mb of data. What's the scenario for this? Have you seen OOM crashes? Was it on mobile?
There has been a release or two since I tried, but it was consuming multiple gigabytes of RAM and crashed the tab.  When was the 800MB limit introduced?
Owner: jarhar@chromium.org

Sign in to add a comment