Back to LanguageTool Homepage - Privacy - Imprint

How to set java memory in LT server with Texstudio?

With Win10, I am using

“java -Xmx500m -cp languagetool-server.jar org.languagetool.server.HTTPServer --port 8081 --languageModel D:\LanguageTool\ngrams”

in cmd with ngram on the server and it works. Here, “-Xmx500m” is used in order to increase the LT memory usage. WIthout “-Xmx500m”, ngram does not work.

So, how to set JAVA memory “-Xmx500m” when I am using LT server with texstudio?

The solution is to use java 64 bit.