[pypy-dev] Fatal RPython error: MemoryError

Armin Rigo arigo at tunes.org
Tue Aug 7 11:28:14 CEST 2012


Hi Harald,

On Tue, Aug 7, 2012 at 10:23 AM, Massa, Harald Armin <chef at ghum.de> wrote:
> outside of programming there is the concept of having a secret backup
> ("nest egg"). Would'nt it be a solution to preallocate some bytes on
> startup for really, really bad times?

It might help in general, but not in this case: this example causes
and catches multiple MemoryErrors.  If you unveil your secret backup
at the first MemoryError, you gained nothing, because the crash occurs
only at the ~25th MemoryError.


A bientôt,

Armin.


More information about the pypy-dev mailing list