Image to large

Help
B. Evrim
2009-01-08
2013-05-28
  • B. Evrim
    B. Evrim
    2009-01-08

    Hello all,

    I've developed a simple application that takes a pdf file as an input and converts them to jpeg (more information here: www.handypdf.net )

    The other day I decided to use it for this pdf: http://gestor-escolar.googlecode.com/files/struts2.pdf

    And I got: "de.intarsys.pdf.content.CSError: Image to large"

    Any workarounds for this?

    PS. There is a spelling error in the exception also :)

     
    • B. Evrim
      B. Evrim
      2009-01-08

      Hello,

      I found the cause, it is not because image is too large, it is because image is too large to fit in memory. Actually it is an out of memory exception. Increasing JVM memory size solved it.