SSC Seeding running low on memory.

  • KM03719261
  • 30-Sep-2020
  • 30-Sep-2020

Summary

During Database seeding the seed fails with the message JAVA heap error in the SSC log file.

Question

If the correct setting are chosen during the database set up and configuration this error will most likely not happen. it is do to JAVA not having enough memory space to run the seeding and database population so it fails.

Answer

   For the seeding java heap error: 
 The general recommendation is at least 4GB on the minimum and the maximum should be 1 to 2 GB below what you have on the machine.   

 1. Go to <Tomcat Home Directory>/bin and create a file named setenv.sh for Linux systems or setenv.bat for Windows.  

 2. Inside the setenv file, use the following format to set the heap size using the following parameters:   Linux:   export CATALINA_OPTS="-Xms4096M -Xmx10240M"                Windows:   set CATALINA_OPTS=-Xms4096M -Xmx10240M         

 3. -Xms is minimum and -Xmx is maximum.          

4. Save the file and restart Tomcat.    

 

Now go through the SSC configuration again and the seeding should go through without issue.