Reverted back to 512M, PyPy doesn't seem to work anyway

This commit is contained in:
root 2014-08-26 16:36:15 +10:00 committed by wiredfool
parent a1f66bf402
commit 0cd1d9526d

View File

@ -1,13 +1,11 @@
from helper import unittest, PillowTestCase, tearDownModule
import sys
from platform import python_implementation
from os import getpid
from PIL import Image
# Limits for testing the leak
mem_limit = 1024*1048576
if python_implementation() == "PyPy":
mem_limit = 4096*1048576
mem_limit = 512*1048576
stack_size = 8*1048576
iterations = int(mem_limit/stack_size)*2
codecs = dir(Image.core)