Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.0.1
-
Fix Version/s: 5.0.3
-
Component/s: None
-
Labels:None
-
Environment:Pro, JAI
-
Salesforce Case Reference:
-
Workaround Description:The image is quite large 4959x3506. Recommend increasing the heap sized to -Xmx256m .
Description
The PDF renders correctly, when compared to Adobe, but the following exception is thrown:
java.lang.OutOfMemoryError: Java heap space
at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:41)
at java.awt.image.Raster.createPackedRaster(Raster.java:458)
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorMo
del.java:1015)
at java.awt.image.BufferedImage.<init>(BufferedImage.java:324)
at org.icepdf.core.pobjects.ImageUtility.makeImageWithRasterFromBytes(ImageUtil
ity.java:1461)
at org.icepdf.core.pobjects.ImageStream.getImage(ImageStream.java:403)
at org.icepdf.core.pobjects.ImageStream.getImage(ImageStream.java:295)
at org.icepdf.core.pobjects.graphics.ImageStreamReference.run(ImageStreamRefere
nce.java:66)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.ja
va:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:9
18)
at java.lang.Thread.run(Thread.java:680)
java.lang.OutOfMemoryError: Java heap space
at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:41)
at java.awt.image.Raster.createPackedRaster(Raster.java:458)
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorMo
del.java:1015)
at java.awt.image.BufferedImage.<init>(BufferedImage.java:324)
at org.icepdf.core.pobjects.ImageUtility.makeImageWithRasterFromBytes(ImageUtil
ity.java:1461)
at org.icepdf.core.pobjects.ImageStream.getImage(ImageStream.java:403)
at org.icepdf.core.pobjects.ImageStream.getImage(ImageStream.java:295)
at org.icepdf.core.pobjects.graphics.ImageStreamReference.run(ImageStreamRefere
nce.java:66)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.ja
va:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:9
18)
at java.lang.Thread.run(Thread.java:680)
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Tyler Johnson
created issue -
Tyler Johnson
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case Reference | 5007000000T8lHWAAZ |
Tyler Johnson
made changes -
Attachment | Case12175.pdf [ 15892 ] |
Patrick Corless
made changes -
Workaround Description | The image is quite large 4959x3506. Recommend increasing the heap sized to -Xmx256m . |
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Fix Version/s | 5.0.2 [ 10972 ] | |
Resolution | Won't Fix [ 2 ] |
Patrick Corless
made changes -
Resolution | Won't Fix [ 2 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Patrick Corless
made changes -
Fix Version/s | 5.0.3 [ 11070 ] | |
Fix Version/s | 5.0.2 [ 10972 ] |
Patrick Corless
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Patrick Corless
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |