Comment #10 on issue 5688 by [email protected]: Too many resource  
requests by renderer can cause memory exhaustion and eventual browser crash.
http://code.google.com/p/chromium/issues/detail?id=5688

The following revision refers to this bug:
     http://src.chromium.org/viewvc/chrome?view=rev&revision=9298

------------------------------------------------------------------------
r9298 | [email protected] | 2009-02-05 17:13:22 -0800 (Thu, 05 Feb 2009)  
| 10 lines
Changed paths:
    M  
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/renderer_host/resource_dispatcher_host.cc?r1=9298&r2=9297
    M  
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/renderer_host/resource_dispatcher_host.h?r1=9298&r2=9297
    M  
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/renderer_host/resource_dispatcher_host_unittest.cc?r1=9298&r2=9297
    M  
http://src.chromium.org/viewvc/chrome/trunk/src/net/base/net_error_list.h?r1=9298&r2=9297
    M  
http://src.chromium.org/viewvc/chrome/trunk/src/net/url_request/url_request.cc?r1=9298&r2=9297
    M  
http://src.chromium.org/viewvc/chrome/trunk/src/net/url_request/url_request.h?r1=9298&r2=9297
    M  
http://src.chromium.org/viewvc/chrome/trunk/src/net/url_request/url_request_test_job.cc?r1=9298&r2=9297

Add a constraint on how many requests can be outstanding for any given  
render process (browser-side).

Once the constraint is reached, subsequent requests will fail with  
net::ERR_INSUFFICIENT_RESOURCES.

The bound is defined as "25 MB", which represents the amount of private  
bytes we expect  the pending requests to consume in the browser. This  
number translates into around 6000 typical requests.

Note that the upload data of a request is not currently considered part of  
the request's in-memory cost -- more data is needed on the average/maximum  
upload sizes of users before deciding what a compatible limit is.

BUG=5688
Review URL: http://codereview.chromium.org/18541
------------------------------------------------------------------------


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to