[Webkit-unassigned] [Bug 277848] Inconsistent Memory Management in Safari on iPhone 12 Pro

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 9 08:42:05 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=277848

Simon Fraser (smfr) <simon.fraser at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simon.fraser at apple.com

--- Comment #1 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
WebContent processes on iPhone are subject to a "soft" limit of around 1.5GB; if they use more than this amount of memory, they are subject to getting killed by "jetsam".

This is a "soft" limit because these processes are allowed to go above this limit and will not be killed if memory demands from other processes are low. So what you're seeing is related to overall memory pressure on the device; after rebooting, memory pressure from other processes is low, but over time it increases at which point that 1.5G limit is respected.

What this implies is that you should design your web content to not exceed the 1.5GB limit. It will be somewhat lower on iPhone models with less RAM.

-- 
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/20240809/91f82c68/attachment-0001.htm>


More information about the webkit-unassigned mailing list