whts the RAM size of your server?
may be you can chk by setting heap size.

On Thursday, December 6, 2012 7:01:05 PM UTC+5:30, Capfo wrote:
>
> hello
>
> i have a probleme with JENKINS it's a new installation when i do some test 
> with a meven code source 2.2.1 and 2.2.2
>
> when i make mvn clean install -Dmaven.test.skip=true the Build it's OK
>
> but when i make : mvn clean install i have this error :
>
> The same Error in local Build and in Jenkins
>
> thnks
>
> ERROR] BUILD FAILURE[INFO] 
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> Failure executing javac, but could not parse the error:
>
>
> The system is out of resources.
> Consult the following stack trace for details.
> java.lang.OutOfMemoryError: PermGen space
>       at java.lang.ClassLoader.defineClass1(Native Method)
>       at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
>       at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
>       at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
>       at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
>       at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
>       at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>       at 
> org.codehaus.plexus.compiler.javac.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:56)
>       at 
> com.sun.tools.javac.util.DefaultFileManager$ZipFileIndexArchive.getFileObject(DefaultFileManager.java:1656)
>       at 
> com.sun.tools.javac.util.DefaultFileManager.listDirectory(DefaultFileManager.java:333)
>       at 
> com.sun.tools.javac.util.DefaultFileManager.list(DefaultFileManager.java:852)
>       at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:2123)
>       at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1781)
>       at com.sun.tools.javac.code.Symbol.complete(Symbol.java:386)
>       at 
> com.sun.tools.javac.comp.MemberEnter.visitTopLevel(MemberEnter.java:495)
>       at 
> com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:446)
>       at 
> com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:387)
>       at com.sun.tools.javac.comp.MemberEnter.complete(MemberEnter.java:819)
>       at com.sun.tools.javac.code.Symbol.complete(Symbol.java:386)
>       at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:763)
>       at com.sun.tools.javac.comp.Enter.complete(Enter.java:464)
>       at com.sun.tools.javac.comp.Enter.main(Enter.java:442)
>       at 
> com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:819)
>       at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:727)
>       at com.sun.tools.javac.main.Main.compile(Main.java:353)
>       at com.sun.tools.javac.main.Main.compile(Main.java:279)
>       at com.sun.tools.javac.main.Main.compile(Main.java:270)
>       at com.sun.tools.javac.Main.compile(Main.java:87)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
>
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 2 minutes 27 seconds
> [INFO] Finished at: Thu Dec 06 13:50:27 CET 2012
> [INFO] Final Memory: 52M/259M
> [INFO] 
> ------------------------------------------------------------------------
> Build step 'Invoquer les cibles Maven de haut niveau' marked build as failure
> Finished: FAILURE
>
>
>
>
>

Reply via email to