run-jupiter.sh
You can adjust the default run-jupiter.sh:
Increase Heap Memory for Jupiter:
-Xmx2048m: argument increases the maximum heap memory allocated to the Java Virtual Machine (JVM) to 2048 MB (2 GB). Adjusting this value allows you to control how much memory the Java application can use.
Other values you can use:
1g = 1 GB
1024m = 1 GB / 1024 MB
-XX:+UseSerialGC
specifies a garbage collector configuration for the JVM, in this case enabling the Serial Garbage Collector, which is suitable for small applications or those with single-threaded memory allocation patterns.
Add Logging:
You can add logging by adding 2>&1 | tee -a jupiterlogs.txt
at the end of -XX:+UseSerialGC
Example: -XX:+UseSerialGC 2>&1 | tee -a jupiterlogs.txt
This will generate a jupiterlogs.txt file where all the logs will be saved. You can use this for debugging purposes.
Last updated