<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>236760</bug_id>
          
          <creation_ts>2022-02-16 23:58:34 -0800</creation_ts>
          <short_desc>/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitNetworkProcess allocates 85 GB</short_desc>
          <delta_ts>2022-02-17 07:38:10 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>Other</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joris">joris.geer</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1842753</commentid>
    <comment_count>0</comment_count>
    <who name="Joris">joris.geer</who>
    <bug_when>2022-02-16 23:58:34 -0800</bug_when>
    <thetext>The WebKitNetworkProcess process allocates 85 GB.

/proc/&lt;pid&gt;status shows :

VmPeak:	117607928 kB
VmSize:	85772212 kB

The parent process is xreader (a PDF document viewer) which indeed links to WebKit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1842891</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2022-02-17 07:38:10 -0800</bug_when>
    <thetext>Hi, that&apos;s just virtual memory required by JavaScriptCore&apos;s Gigacage. Note that is *virtual* memory, i.e. address space. This is needed to maintain segregated heaps for different object types. It doesn&apos;t actually consume resident memory.

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

    </bug>

</bugzilla>