[pypy-commit] pypy default: Lower the (virtual) memory requirements for this test. I think it used

arigo noreply at buildbot.pypy.org
Fri Nov 29 11:55:43 CET 2013


Author: Armin Rigo <arigo at tunes.org>
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:


More information about the pypy-commit mailing list