open tabs using too much memory
Bug #1376418 reported by
Bill Filler
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
webbrowser-app |
Fix Released
|
Critical
|
Olivier Tilloy | ||
webbrowser-app (Ubuntu) |
Fix Released
|
Critical
|
Unassigned |
Bug Description
See initial report on barajas project:
https:/
Basically we should free the resources of open tabs when they move to the background during the running of the browser as each tab uses much memory and cause the system with low memory, especially on krillin, to start killing everything with the oom killer.
See the details in the barajas report.
Related branches
lp://staging/~osomon/webbrowser-app/unload-webviews
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 70 lines (+22/-2)3 files modifiedsrc/app/webbrowser/Browser.qml (+14/-0)
src/app/webbrowser/Chrome.qml (+5/-1)
tests/autopilot/webbrowser_app/tests/__init__.py (+3/-1)
Changed in webbrowser-app: | |
importance: | Undecided → Critical |
assignee: | nobody → Olivier Tilloy (osomon) |
tags: | added: rtm14 |
tags: | added: touch-2014-10-09 |
Changed in webbrowser-app: | |
status: | New → In Progress |
Changed in webbrowser-app: | |
status: | In Progress → Fix Released |
Changed in webbrowser-app (Ubuntu): | |
importance: | Undecided → Critical |
To post a comment you must log in.
We should keep at most the last two tabs in memory and free all the rest. Even if this means losing the screenshots of the open tabs, it's better than blowing out memory. When a new tab is requested, the old tabs should freed and we just save the url and display like we do when starting the browser up and not instantiating all the tabs.