We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Export JasperReport as docx: java.lang.OutOfMemoryError: Java heap space

Hello,

if I export a generated jasperPrint into a docx document I get the following error:

java.lang.OutOfMemoryError: Java heap space
At: a.a.b.f.hU(Unknown Source)
At: a.a.b.f.hT(Unknown Source)
At: a.a.b.f.writeByte(Unknown Source)
At: a.a.b.j.write(Unknown Source)
At: com.a.a.a.c.b.write(Unknown Source)
At: com.a.a.a.c.b.write(Unknown Source)
At: com.a.a.a.c.a.writeAttribute(Unknown Source)
At: a.a.d.c.E(Unknown Source)
At: a.z.E(Unknown Source)
At: com.aspose.words.ku.writeAttribute(Unknown Source)
At: com.aspose.words.ku.c(Unknown Source)
At: com.aspose.words.ku.b(Unknown Source)
At: com.aspose.words.ku.a(Unknown Source)
At: com.aspose.words.ku.e(Unknown Source)
At: com.aspose.words.ku.x(Unknown Source)
At: com.aspose.words.ku.a(Unknown Source)
At: com.aspose.words.s.a(Unknown Source)
At: com.aspose.words.s.a(Unknown Source)
At: com.aspose.words.acr.d(Unknown Source)
At: com.aspose.words.kc.a(Unknown Source)
At: com.aspose.words.eb.b(Unknown Source)
At: com.aspose.words.adj.a(Unknown Source)
At: com.aspose.words.eb.b(Unknown Source)
At: com.aspose.words.wt.a(Unknown Source)
At: com.aspose.words.eb.b(Unknown Source)
At: com.aspose.words.uu.a(Unknown Source)
At: com.aspose.words.acr.j(Unknown Source)
At: com.aspose.words.ff.kN(Unknown Source)
At: com.aspose.words.ff.bK(Unknown Source)
At: com.aspose.words.acr.write(Unknown Source)
At: com.aspose.words.vi.kN(Unknown Source)
At: com.aspose.words.vi.a(Unknown Source)

P.S.:
Where could I find the version of the aspose.words.jasperreports.jar file?

Thanks.

BR

libero

Hi

Thanks for your request. I suppose, the problem occurs because your report is simply too large. Have you tried to increase a heap space? You should note that to render Jasper Report Aspose.Words have to build two models in memory, one for the report and another for the Word document model. So Aspose.Words will need much more memory that the output file size.

Best regards,

Hello,

there are any news?

Why are my old posts were deleted?

Thanks.


BR

libero

Hi

Thanks for your request. Sorry that the posts you have created earlier disappeared. We had problems with the site and part of posts were lost. I apologize for inconvenience.

Could you please attach your jrprint file here for testing?

Best regards,

Hello,


in the appendix there is a jrprint file, which leads to an OutOfMemory error when exporting to DOCX format.

Thanks.

BR

libero

Hi

Thanks for your inquiry. Your request has been logged in our defect database. The developer, who is responsible for Aspose.Words for JasperReports will answer you shortly.

Best regards.

Hello,

any news about this?

Thanks.

BR

libero

Hi

Thanks for your request. Unfortunately, there is still no news about this issue. We will keep you informed and let you know once the issue is fixed.

I apologize for inconvenience.

Best regards,

Hello,



any news about this??



Thanks.



BR



libero

Hi Libero,


Thanks for your inquiry. Unfortunately, this issue is still unresolved. At the moment this issue is pending for analysis and is in the queue. The responsible developer will analyze the issue and we will then be able to provide you more information. We apologize for your inconvenience.

Best Regards,

Hello,



any news about this?



Thanks.



BR



libero

Hi,


Thanks for your inquiry. Unfortunately, your issues are pending for analysis. Once our developers analyze these issues, we will be able to provide you an estimate. You will be notify as soon as it is fixed. Sorry for inconvenience.