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 3c18085caf5003ccb88281b339eec0a0e13c2aee..30c78cfb64317cd8005de91b4b2b43a53531d74f 100644 |
--- a/tools/perf/page_sets/blink_memory_mobile.py |
+++ b/tools/perf/page_sets/blink_memory_mobile.py |
@@ -26,6 +26,8 @@ class BlinkMemoryMobilePage(page_module.Page): |
with action_runner.CreateInteraction(phase): |
action_runner.Wait(DUMP_WAIT_TIME) |
action_runner.ForceGarbageCollection() |
+ # 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) |