[pypy-commit] stmgc card-marking: Reduce the limit to 2.5GB again. We're getting relocation errors on

arigo noreply at buildbot.pypy.org
Tue Jul 1 13:07:03 CEST 2014


Author: Armin Rigo <arigo at tunes.org>
Branch: card-marking
Changeset: r1272:f18bff5ab704
Date: 2014-07-01 13:07 +0200
http://bitbucket.org/pypy/stmgc/changeset/f18bff5ab704/

Log:	Reduce the limit to 2.5GB again. We're getting relocation errors on
	pypy, and fork() takes forever...

diff --git a/c7/stm/core.h b/c7/stm/core.h
--- a/c7/stm/core.h
+++ b/c7/stm/core.h
@@ -14,7 +14,7 @@
 #endif
 
 
-#define NB_PAGES            (24000*256)    // 24GB
+#define NB_PAGES            (2500*256)    // 2500MB
 #define NB_SEGMENTS         STM_NB_SEGMENTS
 #define NB_SEGMENTS_MAX     240    /* don't increase NB_SEGMENTS past this */
 #define MAP_PAGES_FLAGS     (MAP_SHARED | MAP_ANONYMOUS | MAP_NORESERVE)


More information about the pypy-commit mailing list