Revert "Increase external allocation limit."

BUG=

Review URL: https://codereview.chromium.org/292983010

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21412 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
hpayer@chromium.org 2014-05-21 12:58:06 +00:00
parent 95077490c6
commit b06ad59622

View File

@ -5052,8 +5052,9 @@ bool Heap::ConfigureHeap(int max_semi_space_size,
initial_semispace_size_ = Min(initial_semispace_size_, max_semi_space_size_); initial_semispace_size_ = Min(initial_semispace_size_, max_semi_space_size_);
// The external allocation limit should be below 256 MB on all architectures // The external allocation limit should be below 256 MB on all architectures
// to avoid that resource-constrained embedders run low on memory. // to avoid unnecessary low memory notifications, as that is the threshold
external_allocation_limit_ = 24 * max_semi_space_size_; // for some embedders.
external_allocation_limit_ = 12 * max_semi_space_size_;
ASSERT(external_allocation_limit_ <= 256 * MB); ASSERT(external_allocation_limit_ <= 256 * MB);
// The old generation is paged and needs at least one page for each space. // The old generation is paged and needs at least one page for each space.