NOTICE: Our Community is moving. Get more information.
Visual Basic with CaliberRM COM SDK - JVM heap size error
Product: CaliberRM 2005 and above
Problem: How to increase the JVM heap size in the Visual Basic
code in order to pull a massive projects/requirements from the
The SDK documentation suggest that, the user can increase the
JVM size in the VB code:
objStJavaVMInfo.Options = "-Xmx1000M"
When the user try to increase the JVM heap size according to the
Then the VB SDK applicatiom fails while starting up and it fails
with below pop up error message:
In message box "JNI_GetDefaultJavaVMInitArgs
This is a documentation error, the correct usage of to increase
the JVM heap to remove the "-" from the
objStJavaVMInfo.Options call. That is, after a change it should
like a below:
objStJavaVMInfo.Options = "Xmx1000M"
Then the error message would go away and the JVM initialized
with a given heap size.