|Skip Navigation Links|
|Exit Print View|
|Using the Oracle Java CAPS 6.3 Installation GUI Java CAPS Documentation|
If you install the Oracle Java CAPS Message Library for HL7, we recommend that you increase the NetBeans IDE heap memory size. If the heap size is not sufficient it could result in out of memory exceptions from the built-in parser. Use the netbeans.conf file to set the heap size for the JVM on which NetBeans IDE runs.
The recommended heap sizes for NetBeans C/C++ Development Pack for medium- and large-sized applications are:
For developing medium-sized applications, that is 100–2000 source files, on a system with one CPU and 1 GB of RAM: 512 MB
For developing large-sized applications, that is more than 2000 source files, on a system with one or multiple CPUs and 2 GB of RAM: 1.5 GB
Before You Begin
Save a backup copy of the netbeans.conf file before beginning this process.
Note - You may need to create the etc directory in the NetBeans IDE user directory.
# command line switches netbeans_default_options=" -J-Xms32m -J-Xmx128m -J-XX:PermSize=32m -J-XX:MaxPermSize=96m -J-Xverify:none -J-Dapple.laf.useScreenMenuBar=true"
Note - To ensure that you do not run out of memory while the built-in parser is running, you can also add the garbage collector switches, -J-XX:+UseConcMarkSweepGC (concurrent collector) and -J-XX:+UseParNewGC (parallel collector), to the netbeans.conf file.