CA Spectrum install fails running mibtools.cus

Document ID : KB000031413
Last Modified Date : 28/11/2018
Show Technical Document Details

Spectrum install fails running mibtools.cus. The following error is seen in the mibtools.log file:

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space 

at java.util.Arrays.copyOfRange( 

at java.lang.String.<init>( 

at java.lang.StringBuffer.toString( 



**^G Error during /global/data/spectrum/MibDatabase/scripts/ -d /global/data/spectrum/MibDatabase -skip_search 


Java out of memory


Increase the java memory and rerun the script to rebuild the mibtools database:

1. Log into the system as the user that owns the Spectrum installation 

2. If on Windows, start a bash shell by running "bash -login"

3. cd to the MibDatabase/scripts directory 

4. Edit the file. Look for the memory setting of "-Xmx512m" and change it to "-Xmx1024m" 

5. Run the following command to reinitialize the MIB Tools database: 

./ -uroot -proot -init 

6. Run the following command to rebuild the MIB Tools database: 

./ -d /global/data/spectrum/MibDatabase.backup --skip_search 


The above command may take a while to run.  Please do not close or exit the shell until it has completed.