You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ta...@apache.org on 2017/11/28 13:30:27 UTC

[tika] 03/03: Update test and add note in release notes. Many thanks, shrike! This closes 213.

This is an automated email from the ASF dual-hosted git repository.

tallison pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tika.git

commit 72c4e33626118d563b02c151cb852141e367d585
Author: tballison <ta...@mitre.org>
AuthorDate: Tue Nov 28 08:30:09 2017 -0500

    Update test and add note in release notes.  Many thanks, shrike! This closes 213.
---
 CHANGES.txt                                                             | 2 ++
 .../src/test/java/org/apache/tika/parser/pdf/PDFParserTest.java         | 1 +
 2 files changed, 3 insertions(+)

diff --git a/CHANGES.txt b/CHANGES.txt
index 4069759..31b22ee 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,5 +1,7 @@
 Release 1.17 - ???
 
+  * Allow users to configure maxMainMemoryBytes for PDFs via shrike (PR-213).
+
   * Extract underline and strikethrough in docx (TIKA-2347 and TIKA-2512).
 
   * Cache TikaConfig in EmbeddedDocumentUtil for better performance
diff --git a/tika-parsers/src/test/java/org/apache/tika/parser/pdf/PDFParserTest.java b/tika-parsers/src/test/java/org/apache/tika/parser/pdf/PDFParserTest.java
index 165dde5..52814ac 100644
--- a/tika-parsers/src/test/java/org/apache/tika/parser/pdf/PDFParserTest.java
+++ b/tika-parsers/src/test/java/org/apache/tika/parser/pdf/PDFParserTest.java
@@ -1348,6 +1348,7 @@ public class PDFParserTest extends TikaTest {
             assertEquals(2.1f, pdfParserConfig.getOcrImageQuality(), .01f);
             assertEquals(1.3f, pdfParserConfig.getOcrImageScale(), .01f);
             assertEquals("jpeg", pdfParserConfig.getOcrImageFormatName());
+            assertEquals(524288000, pdfParserConfig.getMaxMainMemoryBytes());
             assertEquals(false, pdfParserConfig.getCatchIntermediateIOExceptions());
 
         }

-- 
To stop receiving notification emails like this one, please contact
"commits@tika.apache.org" <co...@tika.apache.org>.