DX NetOps

 View Only

 Error in compiling MIB

MARUBUN SUPPORT's profile image
MARUBUN SUPPORT posted Jul 17, 2025 05:34 AM

Hi Team,

A customer has a question and is asking about the content.

-

Product
OS: RHEL9.5
Spectrum 24.3.9 

When upgrading the OneClick server from 22.2.6 to 24.3.9, an error occurred during MIB compilation in postinst.

-

There were two types of errors in the mibtools.log.

Compiling: iSCSI-RFC1643P-MIB
MIB failed to compile.

Q1
Would it be okay to correct the file name?

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at java.base/java.lang.StringUTF16.newBytesFor(Unknown Source)
at java.base/java.lang.AbstractStringBuilder.inflate(Unknown Source)
at java.base/java.lang.AbstractStringBuilder.appendChars(Unknown Source)
at java.base/java.lang.AbstractStringBuilder.append(Unknown Source)
at java.base/java.lang.StringBuffer.append(Unknown Source)
at com.aprisma.spectrum.app.mib.web.BulkMibCompile.compileMib(BulkMibCompile.java:103)
at com.aprisma.spectrum.app.mib.web.BulkMibCompile.main(BulkMibCompile.java:321)
**^G Error during /usr/Spectrum/MibDatabase/scripts/BulkMibCompile.sh -u root -p XXXX -d /usr/Spectrum/MibDatabase -skip_search

Q2
This means there is not enough heap space, so can I solve this by increasing the space allocated to JAVA with the -xmx option?

Thanks,