diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-29 23:34:07 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-29 23:34:07 +0000 |
commit | 45affb96293dbebcf953acd0ea8b329eb12728d9 (patch) | |
tree | 0fe2663d38979c2a894a37c744ddd42cbd9a1c8b /ipc | |
parent | 12b2adaafe3f962f756ee565475f47574dcc3026 (diff) | |
download | chromium_src-45affb96293dbebcf953acd0ea8b329eb12728d9.zip chromium_src-45affb96293dbebcf953acd0ea8b329eb12728d9.tar.gz chromium_src-45affb96293dbebcf953acd0ea8b329eb12728d9.tar.bz2 |
Reduce the maximum IPC message size.
On 32-bit systems, it is possible that we will be unable to find a contiguous
256 MB region of memory in the browser process. Cutting this limit in half
seems reasonable.
R=cpu
BUG=32815
TEST=none
Review URL: http://codereview.chromium.org/5333004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67612 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/ipc_channel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/ipc_channel.h b/ipc/ipc_channel.h index 27b055c1..1b5d73a 100644 --- a/ipc/ipc_channel.h +++ b/ipc/ipc_channel.h @@ -46,7 +46,7 @@ class Channel : public Message::Sender { enum { // The maximum message size in bytes. Attempting to receive a // message of this size or bigger results in a channel error. - kMaximumMessageSize = 256 * 1024 * 1024, + kMaximumMessageSize = 128 * 1024 * 1024, // Ammount of data to read at once from the pipe. kReadBufferSize = 4 * 1024 |