title: PermGen space myeclipse
body: <p>I ran the <code>myeclipse</code> wizard MyEclipse/Scaffold Spring CRUD Application with artifact type "JPA Entities". Beforehand, I had added an entity class (just a basic <code>Pojo</code> with setters and getters, a id field annotated with @Id, and the class annotated with @Entity), start derby network server and then I always get this error: </p>
  
  <pre><code>a stack trace with "OutOfMemoryError: PermGen space". 
  </code></pre>
  
  <p>I have tried starting myeclipse like this: </p>
  
  <pre><code>MEM_ARGS="-Xms512m -Xmx512m";export MEM_ARGS
  ./myeclipse4spring
  and like this
  ./myeclipse4spring -Xms512m -Xmx512m
  </code></pre>
  
  <p>and also by right clicking in <code>myeclipse4spring</code> on MyEclipse Tomcat and choosing Manage Launch Configuration/Add and then typing in: </p>
  
  <pre><code>-XX:PermSize=1024M -XX:MaxPermSize=1024M
  </code></pre>
  
  <p>in the magically appearing textbox but when I hit Enter everything vanish and the Ok button is grayed. Is there anybody out there who have got this wizard to work? I'm running Linux Mint. </p>