Skip to main content

Product: OpenFusion JacORB

Version: All

 

Description:

How to increase the memory available to the IDL compiler?

 

Resolution:

Currently there is not an option to enable you to increase the memory used by the IDL compiler.

If the IDL compiler is running out of memory you can workaround this problem by splitting the files into several different files in order to compile them.

Alternatively you should be able to modify the idl script so that it has more memory assigned to it. If you look in the bin directory of the installation then you will see the idl script. If you open this in a text editor it should look something like this:

java -classpath "${OF_Install_dir}/lib/idl.jar:${OF_Install_dir}/lib/endorsed/logkit.jar:${CLASSPATH}" org.jacorb.idl.parser $*

You can modify this so it reads

java -Xmx500M -classpath .....

and this should have the same effect.


#JacORBIDL_Compilation
#KnowledgeDocs
#OpenFusion