Troubleshooting
Problem
You are using SPSS Text Analytics for Surveys 4.0.1.1 (32-bit) to read in and operate on several question fields . On the last step of the New Project wizard you see these errors: com.spss.de.dms.DMSException:SpssioInvalidFile 6 com.spss.de.dms.DMSException:SpssioInvalidFile 5 and no fields are imported.
Symptom
com.spss.de.dms.DMSException:SpssioInvalidFile 6
Cause
Insufficient java heap available
Environment
Most often encountered on Windows 32-bit operating system with Text Analytics for Surveys 4.x 32-bit
Resolving The Problem
SPSS Text Analytics for Surveys (STAfS) is launched via the STAS.exe file that prepares the java command to launch STAS UI. When preparing that java command it automatically computes the maximum size of the memory allocation pool the be at 75% of the total available memory on the machine.
But that value can't exceed 1024 Mb.
To check the value used by STAS during the current/last execution you can check the content of the "jvm.args" file located in the installation directory ("C:\Program Files\IBM\SPSS\Text Analytics for Surveys\4" by default). For example -Xmx512m means the maximum size allocation is 512Mb.
A- It's possible to set the maximum size up to 1024 Mb by doing the following:
1- create a file "system.prefs" in the Defaults/ directory located in the installation directory
2- edit the system.prefs and add the following line MaxMemoryMB=XXX followed by an empty line (where XXX numeric value between 64 and 1024)
3- add an empty line after the line just added.
4- launch STAS
5- verify that the value has been taken into account by checking the content of the "jvm.args" file.
B- When it's required to increase the value higher than 1024 Mb
The only workaround is to prepare the java command by yourself to launch STAfS instead of launching it with the standard way. To create such command you need to concatenate 3 elements:
1- the path to java ("C:\Program Files\IBM\SPSS\Text Analytics for Surveys\4\jre\bin\java" by default)
2- the content of the "jvm.args" file
3- the path to the main class (com.spss.rosetta.ui.Main)
To launch TAFS with a max memory of 2048 Mb With a standard installation such java command is:
"C:\Program Files\IBM\SPSS\Text Analytics for Surveys\4\jre\bin\java" -Djava.class.path=".;.\cobalt.jar;.\lax.jar;.\licenseactivator.jar;.\licensecommute.jar;.\looks-1.3.1.jar;.\spsslic.jar;.\STAS.jar;.\UITools.jar;.\lib\castor-1.2.jar;.\lib\cobalt.jar;.\lib\commons-beanutils-bean-collections.jar;.\lib\commons-beanutils-core.jar;.\lib\commons-beanutils.jar;.\lib\commons-betwixt-0.7.jar;.\lib\commons-digester-1.7.jar;.\lib\commons-lang-2.4.jar;.\lib\commons-logging-1.1.1.jar;.\lib\dbUtilLib.jar;.\lib\excelxlsx.jar;.\lib\FieldChooser.jar;.\lib\install.jar;.\lib\jakarta-oro-2.0.8.jar;.\lib\jdms.jar;.\lib\JimiProClasses.jar;.\lib\looks-1.3.1.jar;.\lib\poi-3.2-FINAL-20081019.jar;.\lib\psapi.jar;.\lib\repository-ui.jar;.\lib\spssml.jar;.\lib\sqlite.jar;.\lib\TableLayout-bin-jdk1.5-2009-08-26.jar;.\lib\tmwb.jar;.\lib\transformations.jar;.\lib\UITools.jar;.\lib\visualization.jar;.\lib\wsdl4j.jar;" -Dapplication.home="C:/Program Files/IBM/SPSS/Text Analytics for Surveys/4" -Dsyserr.redirect=true -Xverify:none -Xincgc -Xmn4m -Xms64m -Xmx2048m com.spss.rosetta.ui.Main
To execute the command:
1- open a command prompt
2- cd "C:\Program Files\IBM\SPSS\Text Analytics for Surveys\4"
3- launch the command (copy/paste the command above)
Please note: The command above is shown 'wrapped'. When you execute this command from your STAfS installation directory, please insure that it is a single line with no line breaks.
Was this topic helpful?
Document Information
More support for:
IBM SPSS Text Analytics for Surveys
Software version:
4.0.1, 4.0, 3.0
Operating system(s):
Windows
Document number:
242275
Modified date:
16 June 2018
UID
swg21667742