WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
16961
Out of memory exception is raised only once
https://bugs.webkit.org/show_bug.cgi?id=16961
Summary
Out of memory exception is raised only once
Alexey Proskuryakov
Reported
2008-01-21 13:47:32 PST
Steps to reproduce: run-webkit-tests fast/js/out-of-memory.html fast/js/out-of-memory.html The second run of the the test often takes a huge amount of time, and fails (sometimes, crashes). That's because a global Collector::memoryFull flag is only reset when collect() sees that memory is not full any more - but in this case, a new instance of the test can fill the memory again before collect() is invoked. After an out of memory condition is detected, and an exception is raised on all ExecStates, further allocations go unchecked. As far as I can tell, this can easily happen in Safari, too.
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2008-01-21 13:48:22 PST
<
rdar://problem/5698229
>
Gavin Barraclough
Comment 2
2011-07-21 22:44:58 PDT
fast/js/out-of-memory.html no longer exists. 2/27/08 1:45 PM Geoff Garen: The out of memory exception was removed entirely in
http://trac.webkit.org/projects/webkit/changeset/30492
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug