Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: tests/lib/async/slow_consumer_test.dart

Issue 12321010: Increase size for slow-consumer test (overflows memory on X64). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Done Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/async/stream_impl.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/async/slow_consumer_test.dart
diff --git a/tests/lib/async/slow_consumer_test.dart b/tests/lib/async/slow_consumer_test.dart
index f8b6902fc2cb8c9cc77481f60cc0dd0cf48a2d6f..2d4065876b894bd099938a4ff095d1a85c552cef 100644
--- a/tests/lib/async/slow_consumer_test.dart
+++ b/tests/lib/async/slow_consumer_test.dart
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// VMOptions=--old_gen_heap_size=32
+// VMOptions=--old_gen_heap_size=64
library slow_consumer_test;
@@ -60,6 +60,7 @@ class DataProvider {
}
Stream get stream => controller.stream;
+
send() {
if (pendingSend != null) {
pendingSend.cancel();
@@ -97,7 +98,7 @@ main() {
// the slower consumer who can only read 200MB/s. The data is sent in 1MB
// chunks.
//
- // This test is limited to 32MB of heap-space (see VMOptions on top of the
+ // This test is limited to 64MB of heap-space (see VMOptions on top of the
// file). If the consumer doesn't pause the data-provider it will run out of
// heap-space.
« no previous file with comments | « sdk/lib/async/stream_impl.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698