Up max memory for surefire to 3GB.
<artifactId>maven-surefire-plugin</artifactId>
<version>2.18.1</version> <!-- versions greater than this don't like System.exit calls in tika-batch -->
<configuration>
- <argLine>-Xmx2048m -Duser.timezone=UTC</argLine>
+ <argLine>-Xmx3072m -Duser.timezone=UTC</argLine>
</configuration>
</plugin>
<plugin>
