[Python-Dev] RE: Painful death in debug build

Guido van Rossum guido@python.org
Sat, 06 Oct 2001 13:49:13 -0400


> Using electric fence requires huge amounts of (virtual) memory.  Every
> allocation requires two pages of memory.  I doubt running the entire
> test suite would ever work.  I'm having trouble running just test_descr
> alone with all the tests commented out!  I think I'm running into
> MAX_MAP_COUNT (which defaults to 64k).

The trick is to compile it to a .pyc file without efence.  The
compiler is vastly malloc-happy.  Once you have the .pyc, test_descr
runs to completion without errors using efence.

--Guido van Rossum (home page: http://www.python.org/~guido/)