Jump to content
  • java.lang.OutOfMemoryError: Java heap space when using New Times Roman


    majidalikhn
    Assigned User abarkman
    CategoryBug report
    PriorityHigh
    ReproducibilityUnable to Reproduce
    ResolutionOpen
    SeverityCritical
    StatusFeedback Requested
    Versionv5.6.0

    I've been facing the issue mentioned below, whenever I print a pdf report in windows server 2016 standard edition, and my template is designed with iReport 5.6.0 and uses New Times Roman. To simply resolve this issue, I just change the fonts used, I've tried to embed the New Times Roman with the template, but nothing happens. Any help will be appreciated. Thanks

     

    SEVERE: Servlet.service() for servlet jsp threw exception

    java.lang.OutOfMemoryError: Java heap space

     

     

    P.S I've attached logs of Tomcat, please have a look.


    Attachments: tomcat.log

    User Feedback

    Recommended Comments

    Changed Reproducibility from Always to Unable to Reproduce

    Changed Assigned User from - to @abarkman


    Hello. I am having similar issue with Jasper Report Server - java.lang.OutOfMemoryError: Java heap space, on upgrading to Jasper Report 6.5.1.This is making the application completely unresponsive.The issue occurs at multiple locations and logs provided below. I have set the JVM Heap space to 8GB, but still does not help. Please let me know if you have any solutions. Thanks in advance.java.lang.OutOfMemoryError: Java heap spaceat java.util.Arrays.copyOf(Arrays.java:2786)at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:94)at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202)at sun.nio.cs.StreamEncoder.implWrite(StreamEncoder.java:263)at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:106)at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:116)at java.io.OutputStreamWriter.write(OutputStreamWriter.java:203)at java.io.Writer.write(Writer.java:140)at net.sf.jasperreports.engine.export.JRHtmlExporter.exportText(JRHtmlExporter.java:1224)at net.sf.jasperreports.engine.export.JRHtmlExporter.exportGrid(JRHtmlExporter.java:815)at net.sf.jasperreports.engine.export.JRHtmlExporter.exportPage(JRHtmlExporter.java:730)at net.sf.jasperreports.engine.export.JRHtmlExporter.exportReportToWriter(JRHtmlExporter.java:679)at net.sf.jasperreports.engine.export.JRHtmlExporter.exportReport(JRHtmlExporter.java:389)JBWEB000236: Servlet.service() for servlet STVPdfServlet threw exception: java.lang.OutOfMemoryError at java.io.ByteArrayOutputStream.hugeCapacity(ByteArrayOutputStream.java:123) [rt.jar:1.7.0_201] at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:117) [rt.jar:1.7.0_201] at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93) [rt.jar:1.7.0_201] at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:153) [rt.jar:1.7.0_201] at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) [rt.jar:1.7.0_201]
    Link to comment
    Share on other sites

    Changed Status from New to Feedback Requested


    There was a problem with font in 5.6.x. Please retry after upgrading to version after 6.2.x.iReport is no longer being developed nor maintained. The new report design tool is Jaspersoft Studio. Please retry with newer version of Jaspersoft Studio.
    Link to comment
    Share on other sites


×
×
  • Create New...