Title: [230641] trunk/Tools
Revision
230641
Author
jbed...@apple.com
Date
2018-04-13 11:11:14 -0700 (Fri, 13 Apr 2018)

Log Message

Boot fewer simulators in CI/EWS machines
https://bugs.webkit.org/show_bug.cgi?id=184594
<rdar://problem/39188082>

Reviewed by Alexey Proskuryakov.

This is a temporary workaround fro <rdar://problem/39393590>.

* Scripts/webkitpy/xcode/simulated_device.py:
(SimulatedDeviceManager): Treat simulators as taking 6 gigs instead of 2.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (230640 => 230641)


--- trunk/Tools/ChangeLog	2018-04-13 18:04:22 UTC (rev 230640)
+++ trunk/Tools/ChangeLog	2018-04-13 18:11:14 UTC (rev 230641)
@@ -1,3 +1,16 @@
+2018-04-13  Jonathan Bedard  <jbed...@apple.com>
+
+        Boot fewer simulators in CI/EWS machines
+        https://bugs.webkit.org/show_bug.cgi?id=184594
+        <rdar://problem/39188082>
+
+        Reviewed by Alexey Proskuryakov.
+
+        This is a temporary workaround fro <rdar://problem/39393590>.
+
+        * Scripts/webkitpy/xcode/simulated_device.py:
+        (SimulatedDeviceManager): Treat simulators as taking 6 gigs instead of 2.
+
 2018-04-13  Brady Eidson  <beid...@apple.com>
 
         Introduce SuspendedPageProxy to keep old web processes around after their WebPageProxy has been swapped to a new one.

Modified: trunk/Tools/Scripts/webkitpy/xcode/simulated_device.py (230640 => 230641)


--- trunk/Tools/Scripts/webkitpy/xcode/simulated_device.py	2018-04-13 18:04:22 UTC (rev 230640)
+++ trunk/Tools/Scripts/webkitpy/xcode/simulated_device.py	2018-04-13 18:11:14 UTC (rev 230641)
@@ -61,7 +61,8 @@
     AVAILABLE_DEVICES = []
     INITIALIZED_DEVICES = None
 
-    MEMORY_ESTIMATE_PER_SIMULATOR_INSTANCE = 2 * (1024 ** 3)  # 2GB a simulator.
+    # FIXME: Simulators should only take up 2GB, but because of <rdar://problem/39393590> something in the OS thinks they're taking closer to 6GB
+    MEMORY_ESTIMATE_PER_SIMULATOR_INSTANCE = 6 * (1024 ** 3)  # 6GB a simulator.
     PROCESS_COUNT_ESTIMATE_PER_SIMULATOR_INSTANCE = 125
 
     xcrun = '/usr/bin/xcrun'
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to