0
Answered

scanner comics stop on synology ds213

Ghile79 4 years ago updated by Tom 4 years ago 4

Hi,

the scanner comics stop on my synology ds213, after i have installed rel. 1.10.1


20160527 15:20:30 [Scanner thread] ERROR com.ubooquity.Ubooquity - Uncaught exception on thread: Scanner thread

java.lang.OutOfMemoryError: Java heap space

at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:75) ~[na:1.8.0_91]


at java.awt.image.Raster.createPackedRaster(Raster.java:467) ~[na:1.8.0_91]
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1032) ~[na:1.8.0_91]
at java.awt.image.BufferedImage.<init>(BufferedImage.java:333) ~[na:1.8.0_91]
at sun.java2d.loops.GraphicsPrimitive.convertFrom(GraphicsPrimitive.java:557) ~[na:1.8.0_91]
at sun.java2d.loops.GraphicsPrimitive.convertFrom(GraphicsPrimitive.java:541) ~[na:1.8.0_91]
at sun.java2d.loops.MaskBlit$General.MaskBlit(MaskBlit.java:189) ~[na:1.8.0_91]
at sun.java2d.loops.Blit$GeneralMaskBlit.Blit(Blit.java:204) ~[na:1.8.0_91]
at sun.java2d.pipe.DrawImage.blitSurfaceData(DrawImage.java:959) ~[na:1.8.0_91]
at sun.java2d.pipe.DrawImage.renderImageCopy(DrawImage.java:577) ~[na:1.8.0_91]
at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:67) ~[na:1.8.0_91]
at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:1014) ~[na:1.8.0_91]
at sun.java2d.pipe.ValidatePipe.copyImage(ValidatePipe.java:186) ~[na:1.8.0_91]
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3318) ~[na:1.8.0_91]
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3296) ~[na:1.8.0_91]
at java.awt.image.ColorConvertOp.ICCBIFilter(ColorConvertOp.java:339) ~[na:1.8.0_91]
at java.awt.image.ColorConvertOp.filter(ColorConvertOp.java:282) ~[na:1.8.0_91]
at org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace.toRGBImageAWT(PDColorSpace.java:282) ~[pdfbox-2.0.0.jar.6697043228584604463.tmp:2.0.0]
at org.apache.pdfbox.pdmodel.graphics.color.PDICCBased.toRGBImage(PDICCBased.java:196) ~[pdfbox-2.0.0.jar.6697043228584604463.tmp:2.0.0]
at org.apache.pdfbox.pdmodel.graphics.image.SampledImageReader.from8bit(SampledImageReader.java:252) ~[pdfbox-2.0.0.jar.6697043228584604463.tmp:2.0.0]
at org.apache.pdfbox.pdmodel.graphics.image.SampledImageReader.getRGBImage(SampledImageReader.java:138) ~[pdfbox-2.0.0.jar.6697043228584604463.tmp:2.0.0]
at org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject.getImage(PDImageXObject.java:340) ~[pdfbox-2.0.0.jar.6697043228584604463.tmp:2.0.0]
at org.apache.pdfbox.rendering.PageDrawer.drawImage(PageDrawer.java:781) ~[pdfbox-2.0.0.jar.6697043228584604463.tmp:2.0.0]
at org.apache.pdfbox.contentstream.operator.graphics.DrawObject.process(DrawObject.java:62) ~[pdfbox-2.0.0.jar.6697043228584604463.tmp:2.0.0]
at org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:815) ~[pdfbox-2.0.0.jar.6697043228584604463.tmp:2.0.0]
at org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:472) ~[pdfbox-2.0.0.jar.6697043228584604463.tmp:2.0.0]
at org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:446) ~[pdfbox-2.0.0.jar.6697043228584604463.tmp:2.0.0]
at org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:149) ~[pdfbox-2.0.0.jar.6697043228584604463.tmp:2.0.0]
at org.apache.pdfbox.rendering.PageDrawer.drawPage(PageDrawer.java:189) ~[pdfbox-2.0.0.jar.6697043228584604463.tmp:2.0.0]
at org.apache.pdfbox.rendering.PDFRenderer.renderPage(PDFRenderer.java:208) ~[pdfbox-2.0.0.jar.6697043228584604463.tmp:2.0.0]
at org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:139) ~[pdfbox-2.0.0.jar.6697043228584604463.tmp:2.0.0]
at org.apache.pdfbox.rendering.PDFRenderer.renderImageWithDPI(PDFRenderer.java:94) ~[pdfbox-2.0.0.jar.6697043228584604463.tmp:2.0.0]
20160527 15:23:07 [main] INFO com.ubooquity.c - Stopping internal server..

.20160527 15:23:07 [main] INFO com.ubooquity.data.feeder.a - Aborting content scan...

20160527 15:23:07 [main] INFO com.ubooquity.data.feeder.a - Waiting for scanner thread to stop

20160527 15:23:07 [main] INFO com.ubooquity.data.feeder.a - Scanner thread stopped

20160527 15:23:07 [main] INFO com.ubooquity.c - Internal server stopped

20160527 15:23:07 [Thread-3] INFO com.ubooquity.Ubooquity - Ubooquity has closed.


Any ideas what I should do?


Thanks

Under review

2 things you could try:


  • Increase the quantity of memory allocated to Ubooquity (like described in the FAQ)
  • check in your logs if the problem always happens for the same file: it might be caused by a specific PDF containing very big images for instance

Hi,

the problem is a specific pdf.

Thanks, it works !