<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] Dramatic increase on memory usage since 2.14.x"
href="https://bugs.webkit.org/show_bug.cgi?id=164049">164049</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[GTK] Dramatic increase on memory usage since 2.14.x
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>WebKit Nightly Build
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>WebKit Gtk
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>agomez@igalia.com
</td>
</tr>
<tr>
<th>CC</th>
<td>bugs-noreply@webkitgtk.org
</td>
</tr></table>
<p>
<div>
<pre>This discussion started in ephy's ML by Michael Gratton, but opening a bug for reference:
<a href="https://mail.gnome.org/archives/epiphany-list/2016-October/msg00016.html">https://mail.gnome.org/archives/epiphany-list/2016-October/msg00016.html</a>
Hey all,
I feel like Epiphany's/WebKitGTK's memory use has substantially
increased with 3.22/2.14, under X11 on Ubuntu at least.
My current Epiphany session has ~70 tabs over two windows. If I quit
and restart it, such that only two of those tabs have actually loaded
any content, then the total memory consumption is ~7GB (as reported by
gnome-system-monitor total free before and after launching Ephy). This
seems to be a substantial increase over earlier versions.
Breaking that down, I am seeing the following approx Memory (from
g-s-m):
- Epiphany: 100M
- Network + DB processes: 40M
- Single web process for loaded tabs: 250M (+ 10M XServer memory)
- Single web process for not-yet-loaded tabs: 55M (+ 10M XServer
memory)
While that doesn't add up to ~7GB, adding up the RSS sizes as reported
by `ps aux` does.
Switching to a single-shared-process gives 6.4G used after launch, with
similar numbers for the aux processes, and the following for the single
web process:
- Shared web process: 2.1G (+ 550Mb XServer memory)
This is in comparison to the honourable competition, both of which use
~1G after opening 70 blank tabs.
Is this to be expected? What's the best way to try to find out where
all this memory is going?
//Mike</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>