Back to LanguageTool Homepage - Privacy - Imprint

Out of memory adding disambig rule


(Ruud Baars) #1

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?


(Daniel Naber) #2

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

export MAVEN_OPTS="-Xmx2000m"


(Ruud Baars) #3

Thanks, that helps