Versions Compared

Key

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

...

Panel

Anchor
Eclipse Indigo - OC4J JVM memory configuration
Eclipse Indigo - OC4J JVM memory configuration

Eclipse Indigo - OC4J JVM memory configuration

  1. Run Eclipse.
        a.  From the Eclipse Task Bar select Run > Run Configurations...
        b.  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.

    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.
  2. Click on the (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.

Eclipse Indigo - JVM memory configuration is now complete.

Panel

Anchor
Eclipse MyEclipse 10.5 - OC4J JVM memory configuration
Eclipse MyEclipse 10.5 - OC4J JVM memory configuration

Eclipse myEclipse - OC4J JVM memory configuration