Details
-
Test
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
1.0
-
None
-
None
Description
We encountered an OOM while parsing a Word document. We will report the failure to POI.
This raises the question about the general robustness of the parsers.
We've written a little test tool that reproduces the aforementionned OOM and other potential issues that will be reported to the individual parsers. It's the responsibility of the parsers to handle those failures gracefully.
Yet it's easy to write generic tools at the Tika level to make these kind of tests.
So we also submit this issue here to start a discussion on what role should Tika have when it comes to validate its parsers.
Code here: https://github.com/lacostej/tika-hardener