Tying 2GB max memory

This commit is contained in:
Josh Ware 2014-08-26 14:27:34 +10:00 committed by wiredfool
parent a944ec9250
commit dea36ae610

View File

@ -4,7 +4,7 @@ import sys
from PIL import Image
# Limits for testing the leak
mem_limit = 1536*1048576
mem_limit = 2048*1048576
stack_size = 8*1048576
iterations = int(mem_limit/stack_size)*2
codecs = dir(Image.core)