[
https://issues.apache.org/jira/browse/TIKA-4039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17730581#comment-17730581
]
Tim Allison edited comment on TIKA-4039 at 6/8/23 1:57 PM:
-----------------------------------------------------------
Went with per-request header addition, e.g. {{--header "unpackMaxBytes:
1073741824"}}
was (Author: [email protected]):
Went with per-request header addition: --header "unpackMaxBytes: 1073741824"
> Allow users to set the maximum attachment size in the /unpack resource of
> tika-server
> -------------------------------------------------------------------------------------
>
> Key: TIKA-4039
> URL: https://issues.apache.org/jira/browse/TIKA-4039
> Project: Tika
> Issue Type: Improvement
> Components: config, parser
> Affects Versions: 2.7.0
> Reporter: Shay barak
> Assignee: Tim Allison
> Priority: Blocker
> Attachments: tika-config.xml
>
>
> Adding the option to override the maximum bytes that Unrar parser can handle
> so I would not get the TikaMemoryLimitException.
> Wish to have the configuration to look like this:
> <parser class="org.apache.tika.parser.pkg.UnrarParser">
> <params>
> <param name="byteArrayMaxOverride"
> type="int">1000000000</param>
> </params>
> </parser>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)