Enabling the Marlin rasterizer
You can greatly improve rasterizing performance and scalability while rendering vector data in Java 8 and replacing the default rasterizer in JDK or OpenJDK with the Marlin rasterizer.
- Download the JAR from https://github.com/bourgesl/marlin-renderer/releases.
- Save it in the
webapps/geoserver7WEB-INF/libfolder inside your Tomcat installation. - Edit the startup file for Tomcat, adding the following JVM startup options. Replace the
$MARLIN_JARvariable with the path to the folder where you saved it:
-Xbootclasspath/a:$MARLIN_JAR
-Dsun.java2d.renderer=org.marlin.pisces.MarlinRenderingEngine