[reportlab-users] reportlab-users Digest, Vol 63, Issue 10

stephan0h at gmx.net stephan0h at gmx.net
Fri Aug 7 11:20:58 EDT 2009



> Message: 4

> Date: Fri, 07 Aug 2009 13:09:32 +0100

> From: Paul Barrass <paul.barrass at safeonlinebilling.com>

> Subject: Re: [reportlab-users] Memory Error

> To: Support list for users of Reportlab software

> <reportlab-users at reportlab.com>

> Message-ID: <4A7C197C.1020400 at safeonlinebilling.com>

> Content-Type: text/plain; charset=ISO-8859-1; format=flowed

>

> stephan0h at gmx.net wrote:

>> Hi Group,

>>

>> I've got an memory error:

>> content = f.encode(content)

>> File "/usr/lib/python2.6/dist-packages/reportlab/pdfbase/pdfdoc.py",

>> line 716, in encode

>> text = _AsciiBase85Encode(text)

>> MemoryError

>>

>> I use Reportlab to create a kind of photo album. The one I tried to

>> create is about 100 pages, the images are 300 dpi.

>>

>> Any ideas?

>>

> How much memory are you trying to use, and how much do you actually

> have? top would answer both of these questions whilst running the script.

>

> What format are the images in, and how well are they compressed?

>

> Paul Barrass.


I watched the script: I've got 2 GB ram in my machine, this is used up,
swapping begins. Then at some point I get this error.

The images are jpegs.


thanks,
stephan


More information about the reportlab-users mailing list