mirror of
https://github.com/corda/corda.git
synced 2025-02-22 02:06:45 +00:00
Fixes order of xmx commands.
This commit is contained in:
parent
ada1fe2438
commit
1e58aedb80
@ -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
|
||||
|
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user