1. Pypy
  2. Untitled project
  3. pypy

Commits

Armin Rigo  committed b229f0a

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

  • Participants
  • Parent commits d210e91
  • Branches default

Comments (0)

Files changed (1)

File rpython/rlib/test/test_rstacklet.py

View file
  • Ignore whitespace
             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: