[#3635] - Jasper throws Java Heap Error

Category:
Bug report
Priority:
Normal
Status:
New
Project: Severity:
Minor
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:

Hi all,

Recently I had some troubles heap error with Jasper Library in a Struts2 project.

In the first moment I think that is a issue with generation way and report size, but in some cases I checked the issue with one page report.

Somehow when the option "Stretch with Overflow" is set in a data field nearest the bottom of detail´s band and when all band´s size fill the page size causes the issue.

Steps to reproduce:
- Create a Jasper report in iReport;
- Set all the bands height to fill the max paper size;
- Create a text data field;
- Move the data field to nearest as you can to detail band´s bottom;
- Set the option "Stretch With Overflow" to this field (Like print screen attached);
- Set the Data linked to field to contains more characters that preset size (To force Overflow);
- Run preview and wait for Java Heap allocation Error;

Thanks in advance

AttachmentSize
Image icon sem_titulo.png26.62 KB
v5.5
joao_6's picture
2
Joined: May 21 2014 - 10:47am
Last seen: 8 years 1 month ago
Feedback