[Webkit-unassigned] [Bug 65766] [GTK] OSAllocator::reserveUncommitted should not commit physical memory

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 9 11:36:25 PDT 2011


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


Mark Hahnenberg <mhahnenberg at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mhahnenberg at apple.com




--- Comment #3 from Mark Hahnenberg <mhahnenberg at apple.com>  2011-08-09 11:36:25 PST ---
> 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.
> 
What is the value in /proc/sys/vm/overcommit_ratio?  I think the default is 50, so you could up it to 100…but I mean, the underlying problem is that you're using 2 in overcommit_memory.  It seems that this setting is made to ignore MAP_NORESERVE by design in that it *always* checks to see if you have enough physical memory + swap as determined by your overcommit_ratio.  I think it's pretty unlikely that JSC will actually use that much memory.  If it does, then that is very likely to be a bug :-)  In the end though, if using 0 or 1 is a deal breaker…

tldr; (you|we)'ll have to go with option #2 from comment #1.

-- 
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