h3.Whenever I try to build my application, I get a *permGen* error.
*ANSWER:* More memory has to be allocated to Eclipse for the build. Do the following:
\\
* From within Eclipse, open either the *Package Explorer* or *Navigator* view.
*# Right click on the project that you are trying to build.
*# From the newly displayed list, select either *Run As* or *Debug As*.
*# From the newly displayed list, select *Run Configurations...* or *Debug Configurations...*.
*# In the popup *Run Configuations* panel, from the left hand pane, under *Maven Build*, select the configuration that you are using to build your application.
*# In the right hand pane, select the *JRE* tab.
*# In the right hand pane, under *VM arguments*, enter the following:
{code}
-Xmx512m -Xms512m -XX:PermSize=256m -XX:MaxPermSize=512m
{code}
*# Your display should look similar to the following.
\\
\\
!eclipseJre.jpg!
\\
\\
When you are satisfied that everything is correct, click on the *Apply* button, then click on either the *Run* or *Close* button.
|