"Memory Error" with pylab.plot and possible fix

I get a “Memory Error” when

I execute the following:

import numarray

import pylab

N = 100000 # or any large number

pylab.plot( numarray.arange(N) )

pylab.show()

I built using gcc 4.0.2 with matplotlib 0.85 and numarray 1.4.1

I think I tracked down the problem to the routine FT2Font::set_text()

in file “ft2font.cpp”

if the line:

std::string stdtext;

is changed to:

std::string stdtext = “”;

seems to fix the problem.

Dave