Fixes order of xmx commands.

This commit is contained in:
joeldudleyr3 2017-11-30 11:13:16 +00:00
parent ada1fe2438
commit 1e58aedb80
2 changed files with 2 additions and 2 deletions

View File

@ -212,7 +212,7 @@ at boot, and means the Corda service stays running with no users connected to th
nssm install cordanode1 C:\ProgramData\Oracle\Java\javapath\java.exe
nssm set cordanode1 AppDirectory C:\Corda
nssm set cordanode1 AppParameters "-jar corda.jar -Xmx2048m --config-file=C:\corda\node.conf"
nssm set cordanode1 AppParameters "-Xmx2048m -jar corda.jar --config-file=C:\corda\node.conf"
nssm set cordanode1 AppStdout C:\Corda\service.log
nssm set cordanode1 AppStderr C:\Corda\service.log
nssm set cordanode1 Description Corda Node - Bank of Breakfast Tea

View File

@ -45,7 +45,7 @@ example, the following would run the node with a heap size of 2048MB:
.. code-block:: shell
java -jar corda.jar -Xmx2048m
java -Xmx2048m -jar corda.jar
You should do this if you receive an ``OutOfMemoryError`` exception when interacting with the node.