commit | 51dce18b3dbcb3c9843bd987631abc8ea8ec95d2 | [log] [tgz] |
---|---|---|
author | Joel Klinghed <the_jk@opera.com> | Mon Feb 04 10:41:51 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Feb 04 10:41:51 2019 |
tree | 4306fca2fe3bf8cdeaa18f9edd109ca56450b06a | |
parent | 1d0d0ad917c1ebd203b406b2d78e489e19cdc6cc [diff] |
Avoid crashing on Android devices with only 256 MB RAM. On Android: max_blob_in_memory_space is calculated as 1% of total RAM min_page_file_size is hardcoded to 2.5MB If 2.5MB > 1% of total RAM the CHECK(limits.isValid()) fails. Avoid that by allowing max_blob_in_memory_space to be at least min_page_file_size regardless of amount of physical memory. R=dmurph@chromium.org, jianli@chromium.org, mek@chromium.org Change-Id: I6fe9717affeb4bffbcb094e264cde57314b1535f Bug: 841667 Change-Id: I6fe9717affeb4bffbcb094e264cde57314b1535f Reviewed-on: https://chromium-review.googlesource.com/c/1448454 Commit-Queue: Fredrik Söderquist <fs@opera.com> Reviewed-by: Marijn Kruisselbrink <mek@chromium.org> Cr-Commit-Position: refs/heads/master@{#628700}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .