PD4ML v4 Forums PD4ML v3 Archived Forums (Read Only) HTML/CSS rendering issues OutOfMemoryError while converting html to pdf

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #27168

    java.lang.OutOfMemoryError: Java heap space
    at java.util.Arrays.copyOf(Arrays.java:3236)
    at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:113)
    at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)
    at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:140)
    at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
    at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291)
    at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:295)
    at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
    at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
    at java.io.BufferedWriter.flush(BufferedWriter.java:254)
    at java.io.PrintWriter.flush(PrintWriter.java:320)
    at org.zefer.pd4ml.pdf.b.o00000(Unknown Source)
    at org.zefer.pd4ml.pdf.e.oO0000(Unknown Source)
    at org.zefer.pd4ml.pdf.e.ÒO0000(Unknown Source)
    at org.zefer.pd4ml.pdf.PD4Device.startNewPage(Unknown Source)
    at org.zefer.pd4ml.PD4ML.super(Unknown Source)

    I just want to know how can i fix it and in which release this has been fixed


    Which PD4ML version do you use?
    On which platform?
    How big is source HTML?
    Are there any images in the doc with big dimensions?
    Did you override the default JVM memory heap size?

Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.