Bug 236760 - /usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitNetworkProcess allocates 85 GB
Summary: /usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitNetworkProcess allocates 85 GB
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: Other
Hardware: Mac (Intel) Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-16 23:58 PST by Joris
Modified: 2022-02-17 07:38 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joris 2022-02-16 23:58:34 PST
The WebKitNetworkProcess process allocates 85 GB.

/proc/<pid>status shows :

VmPeak:	117607928 kB
VmSize:	85772212 kB

The parent process is xreader (a PDF document viewer) which indeed links to WebKit.
Comment 1 Michael Catanzaro 2022-02-17 07:38:10 PST
Hi, that's just virtual memory required by JavaScriptCore's Gigacage. Note that is *virtual* memory, i.e. address space. This is needed to maintain segregated heaps for different object types. It doesn't actually consume resident memory.

I'm impressed the xapp developers made the app work on macOS. They weren't kidding about their apps being cross-desktop. Honestly, I didn't know that it was still possible to build WebKitGTK on macOS at all!