[webkit-dev] Is there a way to avoid the 16.8 MB RegisterFile memory usage?
Oliver Hunt
oliver at apple.com
Mon Aug 25 17:41:04 PDT 2008
The RegisterFile is the amount of memory available on the JS stack,
reducing it directly reduces the amount of stack, and hence recursion,
that js code can do. That said, the RegisterFile allocation should
result in delayed paging -- eg. it should only be reserving address
space, and the OS won't actually allocate memory until we attempt to
use it. At least if mmap exists and is usable.
--Oliver
On Aug 25, 2008, at 5:25 PM, Cedric Vivier wrote:
> On Tue, Aug 26, 2008 at 12:04 AM, Geoffrey Garen <ggaren at apple.com>
> wrote:
>> If you want the RegisterFile to be 512K, just change its size to
>> 512K.
>> You can even deallocate it after JavaScript finishes executing, if
>> that helps.
>
> I am curious as well as Mark, what are the consequences of decreasing
> (or increasing) this value ? [besides the memory usage of course]
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
More information about the webkit-dev
mailing list