[
https://issues.apache.org/jira/browse/PDFBOX-874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12922984#action_12922984
]
Jukka Zitting commented on PDFBOX-874:
--------------------------------------
What JVM are you using? I only get an OOM with -Xmx20m (I'm on a Sun 64-bit
server VM, version 1.6.0_16), which seems quite reasonable.
I see quite a bit of memory being used by the FontMetrics (around 700k per
instance) associated with fonts, but apart from that the fonts are fairly
memory-efficient now.
Note that the fix to this issue was in FontBox. Did you recompile it before
running the test?
> 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.