Subclassing BaseParser?

2015-10-03 Thread Allison, Timothy B.
All, I'm probably suffering from the same failure that led to (https://issues.apache.org/jira/browse/TIKA-1678?focusedCommentId=14640370&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14640370), but is it possible to subclass BaseParser outside of the oap.pdfpars

Re: Memory use for large PDFs?

2015-10-03 Thread Adam Retter
Hi Roberto, Thanks for your suggestions, please find my responses inline below... > Now, would you mind running your profiling using JFR and JMC. You need at > least JDK 1.7u40, and you can enable basic flight recording using at least > the following arguments to the JVM: > > -XX:+UnlockCommercia

Re: Memory use for large PDFs?

2015-10-03 Thread Adam Retter
Sorry, for the delay I was away for a week. > a) use a scratch file PDDocument.load(File file, boolean useScratchFiles) I could not find a load method that has a boolean parameter to indicate whether to use scratch files. However, If I use the PDDocument#load(File file, RandomAccess scratchFile)