mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-05 21:53:15 +03:00
Reverted back to 512M, PyPy doesn't seem to work anyway
This commit is contained in:
parent
a1f66bf402
commit
0cd1d9526d
|
@ -1,13 +1,11 @@
|
||||||
from helper import unittest, PillowTestCase, tearDownModule
|
from helper import unittest, PillowTestCase, tearDownModule
|
||||||
import sys
|
import sys
|
||||||
from platform import python_implementation
|
from os import getpid
|
||||||
|
|
||||||
from PIL import Image
|
from PIL import Image
|
||||||
|
|
||||||
# Limits for testing the leak
|
# Limits for testing the leak
|
||||||
mem_limit = 1024*1048576
|
mem_limit = 512*1048576
|
||||||
if python_implementation() == "PyPy":
|
|
||||||
mem_limit = 4096*1048576
|
|
||||||
stack_size = 8*1048576
|
stack_size = 8*1048576
|
||||||
iterations = int(mem_limit/stack_size)*2
|
iterations = int(mem_limit/stack_size)*2
|
||||||
codecs = dir(Image.core)
|
codecs = dir(Image.core)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user