WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
144649
[Content Extensions] Limit NFA size
https://bugs.webkit.org/show_bug.cgi?id=144649
Summary
[Content Extensions] Limit NFA size
Alex Christensen
Reported
2015-05-05 17:30:30 PDT
Right now we’re making an NFA with 249069 nodes. The NFA uses 100MB of memory. The DFA uses 241MB of memory. This is bad. Limiting the NFA size to 50000 splits this into 7 NFAs. The largest NFA uses 27MB of memory. The largest DFA uses 44 MB of memory. We could tune the max size later, but we really need a max size.
Attachments
Patch
(2.58 KB, patch)
2015-05-05 17:37 PDT
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Patch
(3.32 KB, patch)
2015-05-05 18:05 PDT
,
Alex Christensen
benjamin
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Alex Christensen
Comment 1
2015-05-05 17:37:27 PDT
Created
attachment 252424
[details]
Patch
Alex Christensen
Comment 2
2015-05-05 18:05:53 PDT
Created
attachment 252427
[details]
Patch
Benjamin Poulain
Comment 3
2015-05-05 18:11:59 PDT
Comment on
attachment 252427
[details]
Patch lgtm
Alex Christensen
Comment 4
2015-05-05 18:14:27 PDT
http://trac.webkit.org/changeset/183845
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