levigo / jbig2-imageio

A Java ImageIO plugin for the JBIG2 bi-level image format
Apache License 2.0
31 stars 19 forks source link

Threading-Problem #9

Closed felixbenzbaldas closed 7 years ago

felixbenzbaldas commented 8 years ago

Hello,

got a problem with the JBIG2-Plugin, with multiple-threads.

When I used it with 5 threads, all five threads were blocked after about one hour. All threads were locked in HashMap.getEntry()

Regards

Felix

ghost commented 8 years ago

Hello Felix,

please provide more information. A stacktrace, threaddump and a test case would do it for the beginning.

Best regards, M. Mayer

felixbenzbaldas commented 8 years ago

Hello krzikams,

the problem occurrs, when I use PDFBox (https://pdfbox.apache.org/) with the JBIG2-plugin to convert PDF-files into Images. (using this method: org.apache.pdfbox.rendering.PDFRenderer.renderImageWithDPI)

Sorry, at the moment I cannot give you more information as the licence of my memory-profiler expired ... and I'm working on another project at the moment.

Regards

Felix

ghost commented 8 years ago

Any updates here?