Java Heap Space Error in Statistics Services (TSSS)

Java Heap Space Error in Statistics Services (TSSS)

book

Article ID: KB0083425

calendar_today

Updated On:

Products Versions
Spotfire Statistics Services All supported versions

Description

The following error may be encountered when a Statistics Services job is submitted:

  "Problem in .JavaMethod("com.insightful.miner.BDLMana..: java.lang.OutOfMemoryError: Java heap space"


 

Issue/Introduction

Java Heap Space Error in Statistics Services (TSSS)

Environment

All supported environments

Resolution

If the following error is encountered when a TIBCO Spotfire Statistics Services (TSSS) job is submitted:

  "Problem in .JavaMethod("com.insightful.miner.BDLMana..: java.lang.OutOfMemoryError: Java heap space"


you will need to increase the Java heap size for your Statistics Services engines.  

To do this you will need to edit the engine.java.options line in the following file:

     SPSERVER_HOME/conf/spserver.properties

where "SPSERVER_HOME" is the Statistics Services installation directory path. 

For example, if you set:

engine.java.options=-Xmx600m

this would set the Java heap size to 600MB.

You can increase this to a larger value, but how large depends on how much memory your machine has, because when you are increasing the amount of Java heap memory, the amount available to the rest of the system is reduced.  Also, when increasing this setting within Statistics Services, each statistical engine in the pool is started with this amount of Java Heap space allocated to it. This can cause other memory issues, if there are too many statistical engines running with too much Java heap space allocated to each of them.

 

Additional Information

The engine.java.options property is also discussed in the TIBCO Spotfire Statistics Services Installation and Administration Guide in the section titled, "Server Properties."