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

Issue 717416 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Memory impact of processes with overlapping lifetimes

Project Member Reported by kenjibaheux@chromium.org, May 2 2017

Issue description

From [1], there are currently many circumstances for which 2 processes may have overlapping lifetimes (up to 30 seconds ?), it's unclear how expensive this is in terms of memory consumption.

It might be worth investigating to find out if there is an opportunity for improving peak memory usage.


[1]: https://groups.google.com/a/chromium.org/d/msg/platform-architecture-dev/CraBijjjAZY/x91adic4BwAJ
 

Comment 1 by nasko@chromium.org, May 2 2017

Cc: creis@chromium.org clamy@chromium.org nasko@chromium.org
Adding some relevant folks on cc. I don't expect any action on this in the short term though.
Status: Available (was: Untriaged)

Comment 3 by creis@chromium.org, Jun 20 2017

Components: UI>Browser>Navigation
There are probably opportunities to reduce the duration of time that this overlap happens (e.g., with PlzNavigate), but it's likely quite hard to eliminate entirely.  In cross-process navigations, we don't show the new process until it sends the DidCommitProvisionalLoad IPC, which is after it has been running for a short time.  The old process then runs its unload handler in the background after the new process is showing.  This means the overlap lasts at least from the creation of the new process, to creating the Document and issuing the commit IPC, to the end of the unload handler in the old process.

Even if we ran unload first (i.e., not in the background) and then loaded the new page after quitting the old process, we'd likely end up with much longer durations of a blank white page showing.  I'm not sure it will be worth the complexity of supporting both possible orderings in the code.  (For example, I was able to remove a substantial amount of code after we changed unload handlers to run in the background.)

Could still be worth collecting data on how bad the problem is, and whether reducing the amount of time that it happens would have a meaningful benefit.
Project Member

Comment 4 by sheriffbot@chromium.org, Jun 21 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment