Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r68341:b229f0aafb29
Date: 2013-11-29 11:53 +0100
http://bitbucket.org/pypy/pypy/changeset/b229f0aafb29/

Log:    Lower the (virtual) memory requirements for this test. I think it
        used to require more than 3GB, which fails on some 32-bit platforms.

diff --git a/rpython/rlib/test/test_rstacklet.py 
b/rpython/rlib/test/test_rstacklet.py
--- a/rpython/rlib/test/test_rstacklet.py
+++ b/rpython/rlib/test/test_rstacklet.py
@@ -74,8 +74,8 @@
             h = self.sthread.new(switchbackonce_callback,
                                  rffi.cast(llmemory.Address, 321))
             # 'h' ignored
-            if (i % 5000) == 2500:
-                rgc.collect()
+            if (i % 2000) == 1000:
+                rgc.collect()  # This should run in < 1.5GB virtual memory
 
     def any_alive(self):
         for task in self.tasks:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to