Adjusting Jetty Web Server Memory Usage

When attempting to display large amounts of reporting data, especially query trend charts over large periods of time, the Jetty web server used to display the Funnelback Analytics interface may run out of memory (e.g. produce java.sql.SQLException: out of memory errors).

The web server can be reconfigured to make more memory available to the web server when required. To do so, edit $SEARCH_HOME/bin/setup/service-templates/jetty-webserver.service.tmpl and locate the line similar to wrapper.additional.X=-Xmx512m. The number on this parameter determines the amount of memory allocated to Jetty (here 512 MB).

To apply the configuration changes, run:

 $SEARCH_HOME/bin/setup/start_funnelback_on_boot.pl

See also

top