Bug 243639

Summary: [GTK] WebkitWebProcess keeps running after closed and consuming much memory
Product: WebKit Reporter: Gustavo <gustavotet2022>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: bugs-noreply, kdwkleung, mcatanzaro, yanwh0311
Priority: P3 Keywords: Gtk
Version: WebKit Nightly Build   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
The memory consumption of WebkitWebProcess after the browser was closed. none

Gustavo
Reported 2022-08-07 08:08:54 PDT
Created attachment 461463 [details] The memory consumption of WebkitWebProcess after the browser was closed. For some reason, the Webkit process keep running and consuming too much memory after closed, I was using two tabs, one running a Youtube video in 480p and another with a google search result. Using Gnome Web Browser(Flatpak), Version 42.4, WebkitGTK 2.36.4 on Linux Mint 21.
Attachments
The memory consumption of WebkitWebProcess after the browser was closed. (786.26 KB, image/png)
2022-08-07 08:08 PDT, Gustavo
no flags
Michael Catanzaro
Comment 1 2022-08-08 06:45:40 PDT
You're certain that web process was created by Epiphany and not some other app? The web process should quit as soon as its socket to the UI process is closed. That is, this should be impossible. (Of course, it's software... strange things do happen....)
Michael Catanzaro
Comment 2 2022-08-08 06:46:10 PDT
Your web process is using nearly 6 GB of RAM... that's the most I've ever seen, by a lot. What were you doing with it? O_O
Gustavo
Comment 3 2022-08-08 07:08:11 PDT
(In reply to Michael Catanzaro from comment #2) > Your web process is using nearly 6 GB of RAM... that's the most I've ever > seen, by a lot. What were you doing with it? O_O I was only watching a video on Youtube and doing some search on google, then suddenly my PC started to get really laggy, then i opened the System Monitor and discovered that the webprocess was eating nearly 6GB of my RAM, i just had open the Pycharm IDE, nothing more.
YanVV
Comment 4 2022-10-25 16:45:36 PDT
I have the same problem
Kdwk
Comment 5 2023-01-20 05:59:39 PST
I am able to reproduce this. On apple.com (reliably reproduced on https://www.apple.com/macbook-pro-14-and-16/), after browsing through the product pages, memory usage increases significantly. After closing the tab, memory usage does not come down. Do that a few times, and my 8 GB of memory as well as the 4 GB of swap are nearly filled up.
Michael Catanzaro
Comment 6 2023-01-20 08:50:22 PST
This is probably bug #247057, unless you've collected a backtrace to show evidence to the contrary. So I'm going to make it as a duplicate. Still would be good to connect with gdb and see what the web process is doing, so we can know for sure. *** This bug has been marked as a duplicate of bug 247057 ***
Note You need to log in before you can comment on or make changes to this bug.