Re: [pypy-dev] GC error

2012-01-21 Thread Armin Rigo
Hi, On Wed, Jan 18, 2012 at 05:07, Rich Drewes wrote: >> That means you're running a 32bit program in a 64bit environment > > Yup, that was it.  For some reason the package from the launchpad ppa that > was pulled in was 32 bit. Sorry for the delay in answering. It's indeed a known issue that t

Re: [pypy-dev] GC error

2012-01-17 Thread Rich Drewes
On 01/17/2012 02:50 PM, Maciej Fijalkowski wrote: That means you're running a 32bit program in a 64bit environment Yup, that was it. For some reason the package from the launchpad ppa that was pulled in was 32 bit. Rich ___ pypy-dev mailing list py

Re: [pypy-dev] GC error

2012-01-17 Thread Maciej Fijalkowski
On Wed, Jan 18, 2012 at 12:30 AM, Rich Drewes wrote: > On 01/16/2012 09:59 PM, Timo Paulssen wrote: >> >> Hello, >> >> PyPy has a hard limit on its heap size. It can be specified with this >> environment variable: >> >>  PYPY_GC_MAX            The max heap size.  If coming near this limit, it >>  

Re: [pypy-dev] GC error

2012-01-17 Thread Rich Drewes
On 01/16/2012 09:59 PM, Timo Paulssen wrote: Hello, PyPy has a hard limit on its heap size. It can be specified with this environment variable: PYPY_GC_MAXThe max heap size. If coming near this limit, it will first collect more often, then raise an

Re: [pypy-dev] GC error

2012-01-17 Thread Maciej Fijalkowski
On Mon, Jan 16, 2012 at 8:44 PM, Rich Drewes wrote: > Hello all, > > Great work on pypy!  I've had good luck with pypy generally but on a program > that loads a very large data set I am getting a GC related exception: > > > loading reads, on record 2500 > RPython traceback: >  File "trans

Re: [pypy-dev] GC error

2012-01-17 Thread Bengt Richter
On 01/16/2012 03:26 PM Rich Drewes wrote: [...] When I run my program with cpython, it consumes all available physical memory and then the swap space (as shown in 'top') grows up to about 17GB. The program runs to completion. When I run my program with pypy on default settings with JIT enabled,

Re: [pypy-dev] GC error

2012-01-16 Thread Timo Paulssen
Hello, PyPy has a hard limit on its heap size. It can be specified with this environment variable: PYPY_GC_MAXThe max heap size. If coming near this limit, it will first collect more often, then raise an RPython MemoryError, and if

Re: [pypy-dev] GC error

2012-01-16 Thread Rich Drewes
On 01/16/2012 02:02 PM, Romain Guillebert wrote: Hi PyPy may use more memory than cpython because of the JIT, can you try without the JIT (by passing --jit off to the interpreter) ? When I run with --jit off it gives a MemoryError at about the same point in the run, but with no exception trac

Re: [pypy-dev] GC error

2012-01-16 Thread Romain Guillebert
Hi PyPy may use more memory than cpython because of the JIT, can you try without the JIT (by passing --jit off to the interpreter) ? Cheers Romain On Mon, Jan 16, 2012 at 7:44 PM, Rich Drewes wrote: > Hello all, > > Great work on pypy!  I've had good luck with pypy generally but on a program >

[pypy-dev] GC error

2012-01-16 Thread Rich Drewes
Hello all, Great work on pypy! I've had good luck with pypy generally but on a program that loads a very large data set I am getting a GC related exception: loading reads, on record 2500 RPython traceback: File "translator_goal_targetpypystandalone.c", line 888, in entry_point F