...
Here are the steps to get started. You may want to start with a 1GB max heap setting and increase if the need arises.
1. Stop Joget.
Wiki Markup |
---|
2. Open and edit \[KB:Joget Installation Directory\]/joget-start.bat. |
3. Modify
Modify set JAVACode Block set JAVA
on line 13 to to_OPTS=-XX:MaxPermSize=128m -Xmx512M -Dwflow.home=./wflow/
.Code Block set JAVA_OPTS=-XX:MaxPermSize=256m -Xmx1024M -Dwflow.home=./wflow/
-XX:UseConcMarkSweepGC
4. Save and start Joget.
NOTE:
Please take note should you encounter any of the following OutOfMemory errors:
java.lang.OutOfMemoryError: Java heap space | Increase the maximum heap size -Xmx |
java.lang.OutOfMemoryError: PermGen space | Increase the maximum permgen size -XX:MaxPermSize |
java.lang.OutOfMemoryError: GC overhead limit exceeded | Enable the concurrent garbage collector -XX:UseConcMarkSweepGC |
There are many online resources for further tuning, e.g., http://www.oracle.com/technetwork/java/performance-138178.html.
...