Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • If you start TWCloud from the executable file twcloud, you can configure the -Xmx parameter from the file twcloud.ini (located in the same folder).
  • If you start TWCloud from a service, you can configure the -Xmx parameter from the file <TWCloud install folder>/scripts/linux/twcloud.

On Windows

  • If you start TWCloud from the executable file twcloud.exe, you can configure the -Xmx parameter from the file twcloud.ini (located in the same folder).
  • If you start TWCloud from a Windows service, you must use the Registry Editor to update the value.

...

1. Run regedit from the command line.
2. Browse for the key HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Apache Software Foundation\Procrun 2.0\Teamwork Cloud\Parameters\Java.
3. Right-click JvmMx and select Modify....
4. Select Base to Decimal and change the value. The value is in megabytes (mb).


Configuring Java heap space for webapp

Heap space for webapp is handled by Tomcat.

On Linux

  • Heap settings are located in /opt/local/TeamworkCloud/WebAppPlatform/bin/setenv.sh
    JVM_OPTS="-server  -XX:+UseParallelGC  -Xms4096M -Xmx8192M"

On Windows

  • The heap setting for webapp is located in the registry


To change the value using the Registry Editor

...

1. Run regedit from the command line.
2. Browse for the key HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Apache Software Foundation\Procrun 2.0\WebApp\Parameters\Java.
3. Right-click JvmMx and select Modify....
4. Select Base to Decimal and change the value. The value is in megabytes (mb).