[Image-SIG] MemoryError. Please help !!
Fredrik Lundh
fredrik@pythonware.com
Mon, 18 Nov 2002 17:55:23 +0100
Joan Torres wrote:
> I'm using PIL-1.1.3 with Python2.1 on a UNIX Solaris 2.6
> Can anyone explain me the following error ?
> What can I do?
> >>> from PIL import Image
> >>> Image.core.new('RGB',(3000,5000))
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> MemoryError
> >>>
the error message means that your platform won't let you allocate
the ~60 megs needed to hold this image (PIL allocates four bytes
per pixel for RGB images).
</F>