[Webkit-unassigned] [Bug 65766] New: JIT still requires VM overcommit

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 5 05:28:06 PDT 2011


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

           Summary: JIT still requires VM overcommit
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: psychon at znc.in


Created an attachment (id=103062)
 --> (https://bugs.webkit.org/attachment.cgi?id=103062&action=review)
Output of valgrind --massif

Hi,

since debian updated me to a newer webkit version, I can't open more than one browser window since webkit dies the out-of-memory death during startup. The bug here clearly is a duplicate of bug#42756. However, I have 2 in /proc/sys/vm/overcommit_memory. That means that MAP_NORESERVE is ignored and thus the fix from there doesn't work.

I am using this value so that too big allocations fail immediately and not some random time later, which is quite hard to debug (as can be seen by that other bug). Also, this avoids the evil OOM killer which always picks the wrong process anyway.

I reproduced this problem with WebKit-r92445.tar.bz2 and Programs/GtkLauncher. Attached is the ms_print output for "valgrind --tool=massif --pages-as-heap=yes Programs/GtkLauncher" which shows that this mmap()'d 1GiB address space.

Obviously, setting /proc/sys/vm/overcommit_memory to 0 or 1 hides this problem and nothing crashes anymore, but that doesn't count as a solution for me.

Uli

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list