Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Why does importing my 2.x data into a new 3.x server trigger out of memory exceptions in repotools?

 I'm testing migration from RQM 2.0.1.1IFIx05 to 3.0.1.3 a test  RQM repository.  The exported  tar file is around 5 GB and the jvm heap size has been set to 4GB for repotools on 3.0.1.3. The repotools -import fails at verification stage with errors like :

2012-11-20 03:34:20,505 The Item with ItemID "_SclAUHjnEeG4R8WWnGrl2Q" was found in the ITEM_CURRENTS table, but was not found in the Item types table.
2012-11-20 04:25:18,751 The ITEM_STATE row with itemId = _Y-oEkeOYEeC-b7ZFC1WfAw, keyId = _Y_0XYOOYEeC-b7ZFC1WfAw and itemType = com.ibm.rqm.planning#VersionedTestCase failed to be demarshalled.
java.lang.OutOfMemoryError: ZIP004:OutOfMemoryError, MEM_ERROR in inflateInit2 at java.util.zip.Inflater.init(Native Method)
 at java.util.zip.Inflater.<init>(Inflater.java:107).
 

0 votes



One answer

Permanent link
 Many customers will wisely use repotools -verify and the optional online verify before migrating data. 

However administrators should be aware that the import process also does it's own forms of validating, some of which is done through the same extensible framework that online verify contributes to. As a result, if the online verify tool is installed on the new server when the import is performed extra validation will occur which will have an impact on performance and memory consumption.

It is therefore recommended that if you wish to use the online verify tools on a migrated system that it be installed after the migration is performed, not before.

Online verify is available here:
https://jazz.net/wiki/bin/view/Main/L3DevTool

If you already have online verify installed it can be removed. The instructions for installation are to "Unzip the verifier .zip file into the InstallHome/server directory"

An uninstall would involve removing the files that were added by the zip, which would be: 

one folder
 -  InstallHome/server/conf/jazz/sites/verifier-update-site
 
one file
 -  InstallHome/server/conf/jazz/provision_profiles/verify-profile.ini
 
run ./repotools.sh -clean

0 votes

Comments

Of course there are lots of other things that could cause out of memory errors with repotools, like simply not having a large enough heap configured.


When in doubt, use a bigger heap.

Heapsize is configured in your platform and servlet-specific startup scripts.


Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 2,357
× 267
× 118
× 1
× 1

Question asked: Dec 14 '12, 12:27 p.m.

Question was seen: 7,312 times

Last updated: Nov 29 '13, 12:47 p.m.

Confirmation Cancel Confirm