Bug 243639 - [GTK] WebkitWebProcess keeps running after closed and consuming much memory
Summary: [GTK] WebkitWebProcess keeps running after closed and consuming much memory
Status: RESOLVED DUPLICATE of bug 247057
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: PC Linux
: P3 Normal
Assignee: Nobody
URL:
Keywords: Gtk
Depends on:
Blocks:
 
Reported: 2022-08-07 08:08 PDT by Gustavo
Modified: 2023-01-20 08:50 PST (History)
4 users (show)

See Also:


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 Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gustavo 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.
Comment 1 Michael Catanzaro 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....)
Comment 2 Michael Catanzaro 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
Comment 3 Gustavo 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.
Comment 4 YanVV 2022-10-25 16:45:36 PDT
I have the same problem
Comment 5 Kdwk 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.
Comment 6 Michael Catanzaro 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 ***