Spotfire® Server and Environment - Installation and Administration

Enabling GC logging (server running as Windows service)

If Spotfire Server is running as a Windows service, you can enable GC logging by following these steps.

About this task

Procedure

  1. Stop the Spotfire Server service.
  2. On the command line, go to the <installation dir>/tomcat/bin directory.
  3. Enter the following command: service.bat remove
  4. Uncomment the following line in service.bat:
    set "GC_OPTS=-Xlog:gc*,gc+ergo*=trace:file=%CATALINA_HOME%\logs\gc-%%t.log:time,level,tags:filecount=5,filesize=25m"
  5. Enter the following command: service.bat install
  6. Start the Spotfire Server service.