I come from a Windows background and have limited knowledge of Java. I have recently setup a new server running:
- Windows Server 2019 Standard
-
AdoptOpenJDK: 11.0.9.1 (Hotspot)
- Tomcat 9.0.40
- Geoserver 2.18.1
When Geoserver is generating new tiles the CPU usage goes
over 90% and the system becomes very sluggish. (My previous setup with Java 8 / Tomcat 8 / Marlin performed much better). I suspect that not
having Marlin properly enabled is the cause, but have been unable to
apply the module patch.
OpenJDK is installed in: C:\Program Files\AdoptOpenJDK\jdk-11.0.9.101-hotspot\
I have downloaded and saved the marlin jar in:
C:\Program Files\AdoptOpenJDK\Marlin\marlin-0.9.4.2-Unsafe-OpenJDK9.jar
The usage is given as:
java --patch-module java.desktop=<path>/marlin-0.9.4.2-Unsafe-OpenJDK9.jar ...
but
I am unsure how to hanle the directory name containg a space and what
needs to come at the end where the ellipsies are. I have tried various
things and Googleling with no success.
Also a unsure as to if the patch is only applied once or added to Tomcat's Java options, and what else should be included in the Java Options?
Thank you