summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_constants.cc
diff options
context:
space:
mode:
authorcpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-19 18:47:41 +0000
committercpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-19 18:47:41 +0000
commit06768c2f67ae0353981851c6f6af29df85747b75 (patch)
tree3edc51f88c03fe463d5d49d7ba75d2e9d1b956e8 /chrome/common/chrome_constants.cc
parent2e39d2ebf7e388595bd7fe17d99e30e8a35a43fc (diff)
downloadchromium_src-06768c2f67ae0353981851c6f6af29df85747b75.zip
chromium_src-06768c2f67ae0353981851c6f6af29df85747b75.tar.gz
chromium_src-06768c2f67ae0353981851c6f6af29df85747b75.tar.bz2
Update the table of RAM vs number of renderers
- revised my guesstimate of 25 MB per renderer to 40MB, which I think is more appropiate for long lived tabs, since short lived tabs don't really matter here. - the lower end (< 1GB) has less total renderers - the middle has about the same - the upper end (> 2GB) has more renderers - added test to open 34 tabs. Review URL: http://codereview.chromium.org/21484 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10024 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_constants.cc')
-rw-r--r--chrome/common/chrome_constants.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/common/chrome_constants.cc b/chrome/common/chrome_constants.cc
index 494d3b0..9432915 100644
--- a/chrome/common/chrome_constants.cc
+++ b/chrome/common/chrome_constants.cc
@@ -46,8 +46,8 @@ const FilePath::CharType kHistoryBookmarksFileName[] =
FPL("Bookmarks From History");
const wchar_t kCustomDictionaryFileName[] = L"Custom Dictionary.txt";
-// Note, this shouldn't go above 64. See bug 535234.
-const unsigned int kMaxRendererProcessCount = 20;
+// This number used to be limited to 32 in the past (see b/535234).
+const unsigned int kMaxRendererProcessCount = 42;
const int kStatsMaxThreads = 32;
const int kStatsMaxCounters = 300;