[Webkit-unassigned] [Bug 171630] [JSC] Test stringimpl-to-jsstring-on-large-strings-2 uses a lot of RAM

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 3 17:03:35 PDT 2017


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

--- Comment #4 from Carlos Alberto Lopez Perez <clopez at igalia.com> ---
(In reply to Carlos Alberto Lopez Perez from comment #3)
> (In reply to Carlos Alberto Lopez Perez from comment #2)
> > Ok.. further investigation it seems the chrome results are not valid.
> > 
> > The try{} on the test was hidding that chrome was simply aborting with such
> > large string.
> > 
> > I have crafted a better test that will print either the time it takes to run
> > or the exception:
> > 
> > https://people.igalia.com/clopez/wkbug/largestrings/test-button.html
> > 
> > And I get:
> > 
> >  - Chrome: Invalid string length
> >  - Firefox: repeat count must be less than infinity and not overflow maximum
> > string size
> >  - WebKitGTK+: Test finished: total time to run: 1459.0900000000038
> > milliseconds
> > 
> > 
> 
> And with Safari on Mac I get: "Out of memory"
> 
> How is that? Does Safari have some control mechanism to limit the amount of
> memory a webview can use or something like that?

I guess this also explains why Safari peaks at 3GB and then lowers at 250MB.. it seems there is some kind of limit around 3GB.. meanwhile WebKitGTK+ is happy to use all the RAM available (and even more).

-- 
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/20170504/728fab54/attachment.html>


More information about the webkit-unassigned mailing list