Bug 232371

Summary: Fetch API: Network process leaks when blobs are unused
Product: WebKit Reporter: Kimmo Kinnunen <kkinnunen>
Component: WebCore Misc.Assignee: youenn fablet <youennf>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, esprehn+autocc, ews-watchlist, ggaren, kondapallykalyan, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 151937, 232357    
Attachments:
Description Flags
Demonstrate Network process leak
none
Patch
ews-feeder: commit-queue-
Patch none

Kimmo Kinnunen
Reported 2021-10-27 04:00:12 PDT
Fetch API: Network process leaks when blobs are unused See the attached test case for creating 10gb leak in network process
Attachments
Demonstrate Network process leak (64.11 MB, application/zip)
2021-10-27 04:01 PDT, Kimmo Kinnunen
no flags
Patch (12.88 KB, patch)
2021-10-27 07:10 PDT, youenn fablet
ews-feeder: commit-queue-
Patch (12.57 KB, patch)
2021-10-27 07:16 PDT, youenn fablet
no flags
Kimmo Kinnunen
Comment 1 2021-10-27 04:01:35 PDT
Created attachment 442577 [details] Demonstrate Network process leak
Radar WebKit Bug Importer
Comment 2 2021-10-27 04:09:59 PDT
youenn fablet
Comment 3 2021-10-27 06:29:47 PDT
We are probably not unregistering blobs somewhere.
youenn fablet
Comment 4 2021-10-27 06:31:22 PDT
Hum, in Blob constructor, we have recently added registering the internal URL but I do not see where we are actually unregistering it. That might be the issue.
youenn fablet
Comment 5 2021-10-27 07:10:42 PDT
youenn fablet
Comment 6 2021-10-27 07:16:31 PDT
Geoffrey Garen
Comment 7 2021-10-27 11:30:05 PDT
Comment on attachment 442587 [details] Patch r=me
EWS
Comment 8 2021-10-28 00:32:38 PDT
Committed r284971 (243621@main): <https://commits.webkit.org/243621@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 442587 [details].
Note You need to log in before you can comment on or make changes to this bug.