Memory Optimization for the Geo Service Plugin
The Pentaho Geo Service enables Geo Map visualizations in Analyzer.
If you do not use Analyzer or are sure that you are not using the Geo Service, you can free up approximately 600MB of RAM by removing the Geo Service plugin. Simply shut down the BA Server and delete the /pentaho/server/biserver-ee/pentaho-solutions/system/pentaho-geo/ directory.
If you are a heavy user of the Geo Service, update the cache setting for pentaho-geo-municipality
in the ehcache.xml. This file can be found in the /pentaho/server/biserver-ee/tomcat/webapps/pentaho/WEB-INF/classes directory.
<cache name="pentaho-geo-municipality" maxElementsInMemory="700000" eternal="false" overflowToDisk="true" timeToIdleSeconds="0" timeToLiveSeconds="0" diskPersistent="false" <pinning store="inCache" /> </cache>
When you increase the maxElementsInMemory
settings, less memory is available for other resources. To ensure you have enough memory for other resources, change your Xms
and Xmx
options accordingly in your startup scripts. For example, to accommodate higher maxElementsInMemory
settings, increase the maximum memory allocated to the JVM running Pentaho processes. The default setting is 768m
.