[pypy-svn] r74999 - pypy/trunk/pypy/translator/c/src

arigo at codespeak.net arigo at codespeak.net
Tue Jun 1 12:09:38 CEST 2010


Author: arigo
Date: Tue Jun  1 12:09:37 2010
New Revision: 74999

Modified:
   pypy/trunk/pypy/translator/c/src/stack.h
Log:
Attempt to workaround the issue of test_marshal running out of real
stack, by increasing the stack limit from 512kb to 768kb.  The original
value comes from CPython, so it's expected that we consume a bit more
stack.


Modified: pypy/trunk/pypy/translator/c/src/stack.h
==============================================================================
--- pypy/trunk/pypy/translator/c/src/stack.h	(original)
+++ pypy/trunk/pypy/translator/c/src/stack.h	Tue Jun  1 12:09:37 2010
@@ -3,7 +3,7 @@
  /***  C header subsection: stack operations               ***/
 
 #ifndef MAX_STACK_SIZE
-#    define MAX_STACK_SIZE (1 << 19)
+#    define MAX_STACK_SIZE (3 << 18)    /* 768 kb */
 #endif
 
 /* This include must be done in any case to initialise



More information about the Pypy-commit mailing list