Merge "Reduce max in-memory size of IMAP text from 16MB to 2MB" into ics-mr1

This commit is contained in:
Marc Blank 2011-11-15 08:24:02 -08:00 committed by Android (Google) Code Review
commit 7fd8ebef9f

View File

@ -40,7 +40,7 @@ public class ImapResponseParser {
/**
* Literal larger than this will be stored in temp file.
*/
private static final int LITERAL_KEEP_IN_MEMORY_THRESHOLD = 16 * 1024 * 1024;
private static final int LITERAL_KEEP_IN_MEMORY_THRESHOLD = 2 * 1024 * 1024;
/** Input stream */
private final PeekableInputStream mIn;