WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
11289
REGRESSION: Canvas with large height uses lots of memory, computer almost stops responding
https://bugs.webkit.org/show_bug.cgi?id=11289
Summary
REGRESSION: Canvas with large height uses lots of memory, computer almost sto...
jonathanjohnsson
Reported
2006-10-14 01:03:28 PDT
<canvas height=1000000> makes WebKit use lots of memory. At least on my computer, that means lots of paging (swapping(?)) which almost brings the computer to a halt, beachballing. The mouse starts to move jerky, etc. WebKit eventually recovers, but it takes some minutes, paging all the time (~1000 pageins almost every second in top, for example). I'm not completely sure this should be considered bug, but it might, and at least now this behaviour is noted and known.
Attachments
Test case
(24 bytes, text/html)
2006-10-14 01:04 PDT
,
jonathanjohnsson
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
jonathanjohnsson
Comment 1
2006-10-14 01:04:06 PDT
Created
attachment 11086
[details]
Test case
Dave Hyatt
Comment 2
2006-10-14 01:27:16 PDT
We should clearly cap the size of the buffer to some reasonable amount.
Dave Hyatt
Comment 3
2006-10-14 01:27:45 PDT
Making P1, since this is an easy way to destroy a browsing session by a Web page.
jonathanjohnsson
Comment 4
2006-10-14 01:32:40 PDT
This is a regression from released Safari.
Stephanie Lewis
Comment 5
2006-11-08 17:29:50 PST
radar 4827378
Sam Weinig
Comment 6
2007-03-06 20:45:17 PST
This seems to have been fixed with
r19876
<
http://trac.webkit.org/projects/webkit/changeset/19876
> Though it does seem that multiple large canvases could still cause a slow down.
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