You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by helio frota <00...@gmail.com> on 2014/05/04 19:43:32 UTC
[feedback][build] permgen
[INFO] Building OpenEJB :: Examples :: Groovy JPA 1.1.0-SNAPSHOT
...
...
[INFO] Changes detected - recompiling the module!
[INFO] Using Groovy-Eclipse compiler to compile both Java and Groovy files
[ERROR] PermGen space -> [Help 1]
- first time with no maven configuration
- second time with this maven memory:
http://tomee.apache.org/dev/source-code.html
maven memory settings to 1024 same problem
both get permgen on this step ( groovy jpa example )
* using java 7
* maven 3.1.1
* mvn clean install -Dmaven.test.skip=true
problem gone after add -XX:MaxPermSize=512m to MAVEN_OPTS
-------------------------------------------
http://eprogramming.github.io
Re: [feedback][build] permgen
Posted by helio frota <00...@gmail.com>.
Thanks for the info Romain.
Going to use same settings
BTW the documentation is outdated:
'It's likely you run into the infamous OutOfMemoryError and the solution is
to increase the available memory for Apache Maven. Depending on the system
you're working on, the fix can be as easy as _export MAVEN_OPTS=-Xmx512m on
MacOS and Unices or set MAVEN_OPTS=-Xmx512m on MS Windows.'
http://tomee.apache.org/dev/source-code.html
-------------------------------------------
http://eprogramming.github.io
On Sun, May 4, 2014 at 2:50 PM, Romain Manni-Bucau <rm...@gmail.com>wrote:
> Hi
>
> our integration machine uses -Xmx1024m -XX:PermSize=64m
> -XX:MaxPermSize=256m
>
>
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
> 2014-05-04 19:43 GMT+02:00 helio frota <00...@gmail.com>:
> > [INFO] Building OpenEJB :: Examples :: Groovy JPA 1.1.0-SNAPSHOT
> > ...
> > ...
> > [INFO] Changes detected - recompiling the module!
> > [INFO] Using Groovy-Eclipse compiler to compile both Java and Groovy
> files
> > [ERROR] PermGen space -> [Help 1]
> >
> > - first time with no maven configuration
> > - second time with this maven memory:
> > http://tomee.apache.org/dev/source-code.html
> >
> > maven memory settings to 1024 same problem
> >
> > both get permgen on this step ( groovy jpa example )
> >
> > * using java 7
> > * maven 3.1.1
> > * mvn clean install -Dmaven.test.skip=true
> >
> > problem gone after add -XX:MaxPermSize=512m to MAVEN_OPTS
> >
> >
> >
> > -------------------------------------------
> > http://eprogramming.github.io
>
Re: [feedback][build] permgen
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi
our integration machine uses -Xmx1024m -XX:PermSize=64m -XX:MaxPermSize=256m
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau
2014-05-04 19:43 GMT+02:00 helio frota <00...@gmail.com>:
> [INFO] Building OpenEJB :: Examples :: Groovy JPA 1.1.0-SNAPSHOT
> ...
> ...
> [INFO] Changes detected - recompiling the module!
> [INFO] Using Groovy-Eclipse compiler to compile both Java and Groovy files
> [ERROR] PermGen space -> [Help 1]
>
> - first time with no maven configuration
> - second time with this maven memory:
> http://tomee.apache.org/dev/source-code.html
>
> maven memory settings to 1024 same problem
>
> both get permgen on this step ( groovy jpa example )
>
> * using java 7
> * maven 3.1.1
> * mvn clean install -Dmaven.test.skip=true
>
> problem gone after add -XX:MaxPermSize=512m to MAVEN_OPTS
>
>
>
> -------------------------------------------
> http://eprogramming.github.io