Sunday, July 12, 2015

Updating Spotfire Server Java Heap Size

When I was working to increase the performance of the Web Player Dashboards refreshing/retrieving speed, I came across this setting to change the Java virtual memory for Spotfire App. 

By default the Java virtual min value is 512 MB and max value is 1536 MB. This can be updated after the Spotfire Server installation is done.

If many users/schedule updates trying to refresh the Dashboard simultenously, there would be more stress on Spotfire Application Server as it has to get the data and send it to Web Player/Professional accordingly. The more free memory it has, it process the requests very fast.

To check the current Java virtual memory usage, login to Spotfire Admin console and click on Open Logs and Diagnostics and navigate to Diagnostics tab. You would see the Java VM usage  under Java folder as below



Below are the steps to Update Java Heap Size.

  - Stop Spotfire Server Application Windows Service
  - Go to the <installation dir>/tomcat/bin directory
  - Run the command: service.bat remove
  - Edit the <installation dir>/tomcat/bin/service.bat file.
  - Look for the entries: ‐‐JvmMs 512 ‐‐JvmMx 1536
     In my case, I have updated values as  below
         --JvmMs 4096 ^
         --JvmMx 6144

  - Update the values as per your requirment
  - Run the command: service.bat install
  - Start the Spotfire Server Service


 

1 comment:

  1. Free your work site from the possible risks of mounded trash so everyone is safe. Do this by calling for a service of bin rental GTA to have an easier way of disposal. Interested to know more about bin services? Browse this site.

    ReplyDelete