Created attachment 466360 [details] example Safari uses enormous amount of memory and eventually crashes when using new CompressionStream API with response.blob(). Open this page and click the button. Open memory monitor and you will see enormous increase in RAM consumption. I tested the same code in Chrome and I was not able to see any notable memory change detected. https://gist.github.com/Joozty/250d0d76c2af273ebfc953883c0e47e4
<rdar://problem/109409251>
@Jozef Thanks for the test case; I am able to reproduce.
Did some debugging today, and we are holding on to several references that should be getting freed.
Pull request: https://github.com/WebKit/WebKit/pull/14239
Committed 264462@main (37e5346e6e28): <https://commits.webkit.org/264462@main> Reviewed commits have been landed. Closing PR #14239 and removing active labels.