Index: tools/perf/page_sets/blink_memory_mobile.py |
diff --git a/tools/perf/page_sets/blink_memory_mobile.py b/tools/perf/page_sets/blink_memory_mobile.py |
index cec25c8a8758892a976744b8366569273175f7ca..dc46063676e7bb296319c32717533a13ce88e5fd 100644 |
--- a/tools/perf/page_sets/blink_memory_mobile.py |
+++ b/tools/perf/page_sets/blink_memory_mobile.py |
@@ -27,6 +27,8 @@ class BlinkMemoryMobilePage(page_module.Page): |
action_runner.Wait(DUMP_WAIT_TIME) |
action_runner.ForceGarbageCollection() |
action_runner.SimulateMemoryPressureNotification('critical') |
+ # Swtich this manually! |
+ action_runner.ExecuteJavaScript('window.purgeMemory()') |
action_runner.Wait(DUMP_WAIT_TIME) |
if not action_runner.tab.browser.DumpMemory(): |
logging.error('Unable to get a memory dump for %s.', self.name) |