psyco out of memory

Michael Hudson mwh at python.net
Thu Aug 5 14:29:05 EDT 2004


Ivan Voras <ivoras at __geri.cc.fer.hr> writes:

> I have this simple *dumb* benchmark-like program:
> 
> #import psyco
> #psyco.full()
> 
> d = 0.0
> for i in xrange(1000000000):
>      d += i
> print d
> 
> I though I'd use it to try out psyco, but no, when I enable the first
> two lines, python core-dumps:
> 
> Fatal Python error: psyco: out of memory
> Abort (core dumped)

Hum.  Are you using the ivm or the x86 backend?

Also, you might have better luck just using range()...

Cheers,
mwh

-- 
  ... but I guess there are some things that are so gross you just have
  to forget, or it'll destroy something within you.  perl is the first
  such thing I have known.              -- Erik Naggum, comp.lang.lisp



More information about the Python-list mailing list