Bump OOM max memory for Chrome
This is a temporary adjustment until b/152939233 is fixed.
Bug: 152939233
Change-Id: I09d2b634f1922cfb4ffd044872e0d09ed9760743
diff --git a/tools/internal_test.py b/tools/internal_test.py
index d8e8c62..9309237 100755
--- a/tools/internal_test.py
+++ b/tools/internal_test.py
@@ -111,6 +111,8 @@
'--find-min-xmx-archive']
def compile_with_memory_max_command(record):
+ # TODO(b/152939233): Remove this special handling when fixed.
+ factor = 1.25 if record['app'] == 'chrome' else 1.15
return [] if 'skip-find-xmx-max' in record else [
'tools/run_on_app.py',
'--compiler=r8',
@@ -119,7 +121,7 @@
'--version=%s' % record['version'],
'--no-debug',
'--no-build',
- '--max-memory=%s' % int(record['oom-threshold'] * 1.15)
+ '--max-memory=%s' % int(record['oom-threshold'] * factor)
]
def compile_with_memory_min_command(record):