mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-31 07:57:27 +03:00 
			
		
		
		
	Tying 2GB max memory
This commit is contained in:
		
							parent
							
								
									a944ec9250
								
							
						
					
					
						commit
						dea36ae610
					
				|  | @ -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) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user