[Webkit-unassigned] [Bug 281656] Web Inspector: Memory leak with high-bandwidth operations on web workers when inspector is open
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Nov 7 19:15:06 PST 2024
https://bugs.webkit.org/show_bug.cgi?id=281656
--- Comment #5 from Andrew Hodel <andrewhodel at gmail.com> ---
This is still a bug, but ignore comments 3 and 4.
It's not about allocating for expected transferred objects from a Worker thread and excluding a return statement before in the code that starts the Worker routine.
I re-enabled the transferred object for non Safari browsers that don't have the memory leak bug 281656 is explaining and with 110MB of 3D meshes created every 2000ms the memory fills at that rate.
If I change only the interval timing from 2000ms to 100ms, meaning now add 110MB of 3D to a WebGL canvas every 100ms instead of 2000ms the memory is deallocated each 100ms loop.
This is with 8 Worker threads, each using 70MB of memory while not executing anything on an iPad with 8GB of memory.
**It seems that Safari is adding items to memory and not deallocating those when it should if there is a non constant modification rate, based on a 1 second measurement interval. That could be to base a measurement of too much memory usage, because at a 2000ms redraw interval it does reload the document within 30 minutes.**
Regardless, it works if I set a 100ms redraw interval.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241108/d08ee0ba/attachment.htm>
More information about the webkit-unassigned
mailing list