[pypy-issue] [issue1445] Major regression since 2.0 beta

Florian Apolloner tracker at bugs.pypy.org
Tue Apr 9 22:26:28 CEST 2013


New submission from Florian Apolloner <florian at apolloner.eu>:

Alex asked me to open the bug, I am myself not 100% sure it's pypy's fault --
but I am somewhat out of debugging options. Django's testsuite gets a lot of
memory allocation errors under pypy like:

======================================================================
ERROR: test_complex_app (admin_scripts.tests.ManageValidate)
manage.py validate does not raise an ImportError validating a complex app with
nested calls to load_app
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/florian/sources/django.git/tests/admin_scripts/tests.py", line
1073, in test_complex_app
    out, err = self.run_manage(args)
  File "/home/florian/sources/django.git/tests/admin_scripts/tests.py", line
176, in run_manage
    return self.run_test('./manage.py', args, settings_file)
  File "/home/florian/sources/django.git/tests/admin_scripts/tests.py", line
140, in run_test
    universal_newlines=True).communicate()
  File
"/home/florian/sources/pypy-c-jit-63155-972e776a277f-linux64/lib-python/2.7/subprocess.py",
line 679, in __init__
    errread, errwrite)
  File
"/home/florian/sources/pypy-c-jit-63155-972e776a277f-linux64/lib-python/2.7/subprocess.py",
line 1147, in _execute_child
    self.pid = os.fork()
OSError: [Errno 12] Cannot allocate memory


This is on a 64 bit machine with 4 Gig of RAM, once in a while even oom_killer
hits it… I am also seeing segfaults on the ci-server, but those appear to be
fixed with the recent nightlies.

----------
messages: 5551
nosy: apollo13, pypy-issue
priority: critical
status: unread
title: Major regression since 2.0 beta

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1445>
________________________________________


More information about the pypy-issue mailing list