Jump to content
Changes to the Jaspersoft community edition download ×

PDF unicode / java.lang.OutOfMemoryError


babarincairo

Recommended Posts

Hi,

 

I have a problem with JasperIntelligence (last version) installed on a linux server.

 

When I want to export a report in PDF, I get the following error :

 

11:11:33,809 ERROR [PdfServlet],http-8080-Processor23:253 - Servlet.service() for servlet PdfServlet threw exception
java.lang.OutOfMemoryError: Java heap space

 

This problem is appears only when I use the Identity-H parameters for the PDF-encoding option. For me, this option is compulsory because I write arabic data in the report (mixed with latin data).

 

Note that the PDF export works fine from iReport preview on my Windows XP machine.

 

Thanks for your help. I work on this problem for 1 week and I can't find a solution...

Link to comment
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

To increase HeapSpace you have to set a new Environment Variable called JAVA_OPTS. When starting Tomcat he will use the new options you overtake with the variable.

 

For linux do:

export JAVA_OPTS="-Xmx256m" to increase heap space to 256Mb.

 

Under Windows you only has to open the Tomcat Configuration and under JAVA you can set the MemoryValues as you prefer.

 

Furhter you could try to create your report directly from iReport using the virtualizer properties.

 

 

hth, stefan

Post edited by: senton9999, at: 2006/09/21 08:07

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...