Bug 84168 - Large form post data causes unstoppable memory growth and crash
Summary: Large form post data causes unstoppable memory growth and crash
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.7
: P2 Major
Assignee: Nobody
URL: http://chrisbosco.com/proto/safari/
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2012-04-17 11:04 PDT by Matt
Modified: 2017-05-24 14:48 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt 2012-04-17 11:04:25 PDT
The example above is not from me, but from someone else that is also experiencing the same problem http://chrisbosco.com/proto/safari/

An HTML5 Canvas element creates very large data strings when submitting in a form using mycanvas.toDataURL(). Other browsers submit large form post data properly, but Mac Safari, Mac Chrome, iOS Safari (iPhone & iPad) causes huge memory growth. Post data around 500KB makes the browser spike to >600MB of memory and become completely unresponsive (iOS browsers crash). The server does receive the connection and some of the data. 

Similar threads: https://discussions.apple.com/thread/3145102?start=0&tstart=0
http://stackoverflow.com/questions/6508650/when-posting-a-large-amount-of-data-from-html-canvas-to-an-iframe-target-safa
Comment 1 Radar WebKit Bug Importer 2017-05-24 14:48:58 PDT
<rdar://problem/32387620>