Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel

Eclipse - Indigo JVM memory configuration

  1. Run Eclipse.
    • From the Eclipse Task Bar select Run > Run Configurations...
    • From the Left pane, find and right click on Generic Server and select New.
      The Create, manage, and run configurations panel should be as below.
  2. In the Name: input field, enter oc4j standalone server.
    From the Server: dropdown list, select oracle OC4J Standalone Server 10.1.3.n at localhost.
  3. Click on the (error)(x)=Arguments tab and in the VM arguments: dialog box, enter the following arguments:
    Code Block
    -Xms512m
    -Xmx512m
    -XX:PermSize=512m 
    -XX:MaxPermSize=512m
    -XX:+UseConcMarkSweepGC
    -XX:+CMSClassUnloadingEnabled
    -XX:+CMSPermGenSweepingEnabled
    -XX:ReservedCodeCacheSize=128m
    -Djava.net.preferIPv4Stack=true
    
    In the Working directory: select Other: and enter the path to your OC4J server j2ee/home directory.
    The panel should now look like:

    When you are satisfied that everything is correct, click Apply, then click Close.