[reportlab-users] Memory Error

stephan0h at gmx.net stephan0h at gmx.net
Fri Aug 7 08:01:38 EDT 2009


Hi Group,

I've got an memory error:

File "/usr/lib/python2.6/dist-packages/reportlab/pdfgen/canvas.py",
line 947, in save
self._doc.SaveToFile(self._filename, self)
File "/usr/lib/python2.6/dist-packages/reportlab/pdfbase/pdfdoc.py",
line 223, in SaveToFile
f.write(self.GetPDFData(canvas))
File "/usr/lib/python2.6/dist-packages/reportlab/pdfbase/pdfdoc.py",
line 245, in GetPDFData
return self.format()
File "/usr/lib/python2.6/dist-packages/reportlab/pdfbase/pdfdoc.py",
line 388, in format
IOf = IO.format(self)
File "/usr/lib/python2.6/dist-packages/reportlab/pdfbase/pdfdoc.py",
line 837, in format
fcontent = format(content, document, toplevel=1) # yes this is at
top level
File "/usr/lib/python2.6/dist-packages/reportlab/pdfbase/pdfdoc.py",
line 98, in format
f = element.format(document)
File "/usr/lib/python2.6/dist-packages/reportlab/pdfbase/pdfdoc.py",
line 763, in format
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?

thanks,
stephan


More information about the reportlab-users mailing list