Hi,

On 4/24/14, 7:44 AM, jy_l...@cn.fujitsu.com wrote:
I'm investigating the webkit's memory part.
But I confused memory limit of webkit.
I want to know how many memory limit of webkit?
And what are these max size ? can somebody tell me some info?
Which part has these limit?
For example ,I know memory cache has a limit ,the max memory size is about 8MB.

There is no global memory limit for WebKit. Most caches have their own limits, usually defined experimentally.

The general strategy regarding memory is to use the RAM as needed to maximize the runtime performance.

When memory is exhausted, a memory pressure handler try to free as much memory as possible (look for memoryPressure/lowMemory in the source).

The way the memory pressure handler is invoked depends on the system. On OS X/iOS, it is a system notification sent to the app by the system.

Unfortunately, most of the memory used by Web Browser is indirectly created by the content. As a result, it is not bounded, and it cannot be reclaimed on memory pressure.

Benjamin
_______________________________________________
webkit-help mailing list
webkit-help@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-help

Reply via email to