Import of data from 3.x to 4.0.1 is unsuccessful - "java.lang.OutOfMemoryError" message shown in the stderrFrontendServer.log.

0 Likes

Problem:

Import of data from 3.x to 4.0.1 is unsuccessful - "java.lang.OutOfMemoryError" message shown in the stderrFrontendServer.log.

Resolution:

ANSWER
----------------------------------
When upgrading your database from 3.x to 4.0.1 the data import can last several hours depending on the amount of data being imported.
If the import of data does not finish it is possible that an "out of memory" error has occured and the import of data has timed out.
In order to determine if your import of data is timing out please open the stderrFrontendServer.log in a text editor such as notepad. This file can be found at:

C:\Documents and Settings\All Users\Application Data\Segue\SCC31\log

When you open this log search for the last entry and if it shows a similar entry to:

java.lang.OutOfMemoryError

Then you should try the following workaround:

Check the FrontEnd Server key in the registry :

"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Segue Frontend Server\ImagePath"

and increase the value specified with -Xmx.. to -Xmx768 (or -Xmx1024 if the machine has more than 1GB RAM).

The value of the key in full is (value to be changed is in bold):

"C:\Program Files\Segue\SilkCentral Test Manager 8.1\bin\srun_Frontend.exe" -service -J-Djava.library.path="bin;bin/Core;" -J-server -J-Xrs -J-Xmx512m -XX: UseParNewGC -resin_home "C:\Program Files\Segue\SilkCentral Test Manager 8.1\." -java_home "C:\Program Files\Segue\SilkCentral Test Manager 8.1\." -java_exe "C:\Program Files\Segue\SilkCentral Test Manager 8.1\bin"/java_Frontend.exe -conf "conf\FrontendServer\SccResinFrontendServerConf.xml"

After making this change, restart the server and try importing the data again.

NOTE: If you experience this problem when importing data from 3.x to 4.0 (rather than 4.0.1) then you should check the following resolution as a patch is available for version 4.0 (this patch is included in version 4.0.1): When using the import utility to import data why does it not finish?

If you require further assistance please contact Support.

Old KB# 23700
Comment List
Anonymous
Related Discussions
Recommended