[
https://issues.apache.org/jira/browse/PDFBOX-874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jukka Zitting resolved PDFBOX-874.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.3.1
Assignee: Jukka Zitting
Fixed in revision 1025568 by introducing a more more-efficient way of storing
CID ranges in CMaps. The implementation could still be improved, but already
this change drops the memory use of the PDFBox test suite from >128MB to <24MB.
I also explicitly set the memory limit of the test suite to -Xmx64m to better
catch similar problems in the future, while still giving plenty of extra space
to avoid unnecessary test failures due to differences between JVMs.
> OutOfMemoryError in text extraction tests
> -----------------------------------------
>
> Key: PDFBOX-874
> URL: https://issues.apache.org/jira/browse/PDFBOX-874
> Project: PDFBox
> Issue Type: Bug
> Components: Text extraction
> Affects Versions: 1.3.1
> Reporter: Jukka Zitting
> Assignee: Jukka Zitting
> Fix For: 1.3.1
>
>
> As reported on dev@:
> TestTextStripper failed:
> testExtract(org.apache.pdfbox.util.TestTextStripper) Time elapsed:
> 7.32 sec <<< ERROR!
> java.lang.OutOfMemoryError: Java heap space
> at
> com.ibm.icu.impl.UCharacterNameReader.read(UCharacterNameReader.java:90)
> I can reproduce it by adding a <argLine>-Xmx128m</argLine> option to the
> surefire plugin configuration in pdfbox/pom.xml. The same problem doesn't
> occur with 1.2.1.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.