Versions Compared

Key

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

...

Panel

Whenever I try to build my application, I get a permGen error.

ANSWER:

  • From within MyEclipse, open either the Package Explorer or Navigator view.
    1. Right click on the project that you are trying to build.
    2. From the newly displayed list, select either Run As or Debug As.
    3. From the newly displayed list, select Run Configurations... or Debug Configurations....
    4. In the popup Run Configuations or Debug Configurations window, from the left hand panel, under Maven Build, select the configuration that you are using to build your application.
    5. In the right hand panel, select the JRE tab.
    6. In the right hand panel, under VM arguments, enter the following:
      Code Block
      -Xmx512m -Xms512m -XX:PermSize=256m -XX:MaxPermSize=512m
      

      Image Modified
Panel

My build fails whenever MyEclipse tries to deploy my application to my OC4J application server.

ANSWER: