Installing Upgrading Designing Configuring Deploying Monitoring Administering Troubleshooting Reference JBI Components
Close Print View
Installing: Increasing the NetBeans IDE Heap Size
 

Planning for Java CAPS Installation

Java CAPS Supported Operating Systems

Java CAPS Components and Supported External Systems

System Requirements

Before You Install

About the Installation

Overview of the Graphical User Interface Installation Process

Overview of the Command-line Interface Installation Process

Java CAPS Component Names

Repository Names and User Names

Environment Names

Installation Media

Contents of the Java CAPS "installer" and "components" Download Files

Contents of the Installation DVDs

Preparing for Installation

JDK and JAVA_HOME

Upgrading to 6

Java CAPS Installer Caveats

Creating a Windows Service for Sun Java System Application Server

Increasing the NetBeans IDE Heap Size

To Increase the Heap Size in NetBeans IDE

UNIX and Linux Patches

Checking Patch Levels

Certified Sun Solaris 9 and 10 Patches

IBM AIX 5L 5.2 and 5.3 Patches

Certified IBM AIX 5L Version 5.2 Patches

Certified IBM AIX 5L Version 5.3 Patches

Linux Patches

Certified SUSE Linux Enterprise Server 10 Daylight Savings Time Patch

Using the Java CAPS 6 Installation GUI

Using the Java CAPS 6 Installation CLI

Installing Additional Components for Java CAPS 6

Installing Third-Party JAR Files

Java CAPS Runtime Installation

Uninstalling Java CAPS 6

Installing Patches for Java CAPS

Increasing the NetBeans IDE Heap Size

If you install the Sun 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 build-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:

To Increase the Heap Size in NetBeans IDE

Before You Begin

It is recommended that you preserve a copy of the netbeans.conf file before beginning this process.

  1. From the etc directory in the NetBeans IDE installation directory, copy the netbeans.conf file into your NetBeans IDE user directory, for example: $HOME/ .netbeans/caps/etc directory.

    Note - You may need to create the etc directory in the NetBeans IDE user directory.

  2. In your NetBeans IDE user directory, edit the —J-Xmx command line Java startup switch in the netbeans.conf file, for example:
    # 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"
  3. Restart NetBeans IDE.

    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.