Priming Utility Java heap space error

Document ID : KB000009077
Last Modified Date : 14/02/2018
Show Technical Document Details

When running PrimerUtility on SOI Manager, getting below error and the command stops

D:\CA\SOI\Tools\Priming Utility>PrimerUtility.bat

Exception in thread "Sync Primer Thread" java.lang.OutOfMemoryError: Java heap space

SOI 3.3, 4.0 and 4.2Windows

Please check the \SOI\tomcat\webapps\activemq-web\activemq-data folder size & number of files inside this folder. If there are many files, then the PrimerUtility may fail as it is unable to load data with above "java.lang.OutOfMemoryError: Java heap space" exception

Please run below procedure to correct this problem

1) Stop SOI Manager services

2) Delete all files inside "\SOI\tomcat\webapps\activemq-web\activemq-data" folder

3) Delete all files inside \SOI\tomcat\temp" folder

4) Start SOI Manager services

Now, run PrimerUtility command

Note: It is recommend to follow below procedure before running this utility

1) Before running the primer utility go to the "\SOI\Tools\Priming Utilty" folder and make a copy of the "" file
2) Open it with text editor and go to the line that reads "SOI_Service_Synchronization_Types" and take out "BynaryRelationship"
3) Save the file and run the PrimerUtility

Note: You may keep only Application class and take out all other classes and run the utility.

4) Once the PrimerUtility completes edit the "SOI_Service_Synchronization_Types" line again in "" file and take out all the synchronization types, put back just the BynaryRelationship
5) Save the file and rerun the PrimerUtility