Out of memory adding disambig rule

When I add this diambiguation rule

<rule name="FOREIGN" id="SOME_UNKNOWN_WORDS">
<pattern><marker>
<tokenpostag="UNKNOWN|FOREIGN" postag_regexp="yes"/>
<token postag="UNKNOWN|FOREIGN" postag_regexp="yes"/>
<token postag="UNKNOWN|FOREIGN" postag_regexp="yes"/>
<token postag="UNKNOWN|FOREIGN" postag_regexp="yes"/>
</marker></pattern><disambig action="ignore_spelling"/></rule>

There suddenly is an out of memory error when running test.sh

Could this require a lot, or is it just a coincidence?

Probably a coincidence, you could try this before you call test.sh:

export MAVEN_OPTS="-Xmx2000m"

Thanks, that helps