Re: java.lang.OutOfMemoryError: Java heap space in Wagon
M2Eclipse doesn't launch the external Maven with mvn.bat. You can set the heap options in the JRE tab of the Maven launch configuration. Rich On May 19, 2010, at 10:14 AM, Ron Wheeler wrote: I am trying to build a shared library containing the CXF package and the upload is running out of heap space. The jar is built and is 25Mb. I have added this to every mvn.bat in sight. set MAVEN_OPTS=-Xmx1024M This is running under the latest STS version of Eclipse which is started by this shortcut. C:\Program Files\SpringSource\sts-2.3.2.RELEASE\STS.exe -vmargs -XX:PermSize=256M -XX:MaxPermSize=1024M The Eclipse preference for Maven points to my 2.2.1 version of maven If I try the same pom on another PC with STS using its embedded Maven it also fails with a slightly different stack. It fails on the read side. BufferedInputStream.fill runs out of Java Heap Space. What do I have to do get this file uploaded by wagon? Uploading: http://xxx.artifact-software.com/nexus/content/repositories/releases/com/artifact_software/lms/lms-pom-cxf/1.8.2/lms-pom-cxf-1.8.2-jar-with-dependencies.jar [INFO] [ERROR] FATAL ERROR [INFO] [INFO] Java heap space [INFO] [INFO] Trace java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2786) at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:94) at sun.net.www.http.PosterOutputStream.write(PosterOutputStream.java:61) at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:492) at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:457) at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:411) at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:392) at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:365) at org.apache.maven.wagon.StreamWagon.put(StreamWagon.java:163) at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:317) at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:227) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:107) at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:190) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: java.lang.OutOfMemoryError: Java heap space in Wagon
Thank you. That was it and I am back on the build binge again. Only 20 more projects to deploy. :-) Ron On 19/05/2010 12:44 PM, Richard Seddon wrote: M2Eclipse doesn't launch the external Maven with mvn.bat. You can set the heap options in the JRE tab of the Maven launch configuration. Rich On May 19, 2010, at 10:14 AM, Ron Wheeler wrote: I am trying to build a shared library containing the CXF package and the upload is running out of heap space. The jar is built and is 25Mb. I have added this to every mvn.bat in sight. set MAVEN_OPTS=-Xmx1024M This is running under the latest STS version of Eclipse which is started by this shortcut. C:\Program Files\SpringSource\sts-2.3.2.RELEASE\STS.exe -vmargs -XX:PermSize=256M -XX:MaxPermSize=1024M The Eclipse preference for Maven points to my 2.2.1 version of maven If I try the same pom on another PC with STS using its embedded Maven it also fails with a slightly different stack. It fails on the read side. BufferedInputStream.fill runs out of Java Heap Space. What do I have to do get this file uploaded by wagon? Uploading: http://xxx.artifact-software.com/nexus/content/repositories/releases/com/artifact_software/lms/lms-pom-cxf/1.8.2/lms-pom-cxf-1.8.2-jar-with-dependencies.jar [INFO] [ERROR] FATAL ERROR [INFO] [INFO] Java heap space [INFO] [INFO] Trace java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2786) at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:94) at sun.net.www.http.PosterOutputStream.write(PosterOutputStream.java:61) at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:492) at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:457) at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:411) at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:392) at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:365) at org.apache.maven.wagon.StreamWagon.put(StreamWagon.java:163) at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:317) at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:227) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:107) at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:190) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: java.lang.OutOfMemoryError: PermGen space problem
Yes, set your maven_opts to raise the memory for your java process. ie. export MAVEN_OPTS=-Xmx512M -XX:MaxPermSize=512M Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Wed, Apr 1, 2009 at 4:51 PM, SRINIVASA RAO srinivasv_amb...@yahoo.com wrote: Hi all, When i run the mvn clean install -e command , it is getting the following error: java.lang.OutOfMemoryError: PermGen space maven Could anybody please guide to solve this problem . Regards, Sam - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: java.lang.OutOfMemoryError: PermGen space problem
Use the MAVEN_OPTS env to bump up the memory. The contents of this variable are passed directly to your jdk. I forget the exact syntax for increasing the permgen, but I'm sure google knows. -Original Message- From: SRINIVASA RAO [mailto:srinivasv_amb...@yahoo.com] Sent: Wednesday, April 01, 2009 10:51 AM To: users@maven.apache.org Subject: java.lang.OutOfMemoryError: PermGen space problem Hi all, When i run the mvn clean install -e command , it is getting the following error: java.lang.OutOfMemoryError: PermGen space maven Could anybody please guide to solve this problem . Regards, Sam - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: java.lang.OutOfMemoryError: PermGen space problem
Chris Hansen recommends use of the MarkandSweepGCCollector http://my.opera.com/karmazilla/blog/2007/03/13/good-riddance-permgen-outofmemoryerror Instruct JVM to use ConcurrentMarkSweep Collector -XX:+UseConcMarkSweepGCTell GC to sweep PermGen space -XX:+CMSPermGenSweepingEnabledrequest JVM to Allow classes to be unloaded -XX:+CMSClassUnloadingEnabledBedankt, Martin __ Disclaimer and confidentiality note This message is confidential and may be privileged. If you are not the intended recipient, we kindly ask you to please inform the sender. Any unauthorised dissemination or copying hereof is prohibited. This message serves for information purposes only and shall not have any legally binding effect. Given that e-mails can easily be subject to manipulation, we can not accept any liability for the content provided. Date: Wed, 1 Apr 2009 16:57:49 +0200 Subject: Re: java.lang.OutOfMemoryError: PermGen space problem From: nick.stolw...@gmail.com To: users@maven.apache.org; srinivasv_amb...@yahoo.com Yes, set your maven_opts to raise the memory for your java process. ie. export MAVEN_OPTS=-Xmx512M -XX:MaxPermSize=512M Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Wed, Apr 1, 2009 at 4:51 PM, SRINIVASA RAO srinivasv_amb...@yahoo.com wrote: Hi all, When i run the mvn clean install -e command , it is getting the following error: java.lang.OutOfMemoryError: PermGen space maven Could anybody please guide to solve this problem . Regards, Sam - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org _ Rediscover Hotmail®: Now available on your iPhone or BlackBerry http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Mobile1_042009
RE: java.lang.OutOfMemoryError: PermGen space problem
Hi Thanks for repley. When i put the following line into mvn.bat file, set MAVEN_OPTS=-Xmx512M -XX:MaxPermSize=512M It is still giving the error. regards, Sam --- On Wed, 4/1/09, Martin Gainty mgai...@hotmail.com wrote: From: Martin Gainty mgai...@hotmail.com Subject: RE: java.lang.OutOfMemoryError: PermGen space problem To: users@maven.apache.org Date: Wednesday, April 1, 2009, 8:45 PM Chris Hansen recommends use of the MarkandSweepGCCollector http://my.opera.com/karmazilla/blog/2007/03/13/good-riddance-permgen-outofmemoryerror Instruct JVM to use ConcurrentMarkSweep Collector -XX:+UseConcMarkSweepGCTell GC to sweep PermGen space -XX:+CMSPermGenSweepingEnabledrequest JVM to Allow classes to be unloaded -XX:+CMSClassUnloadingEnabledBedankt, Martin __ Disclaimer and confidentiality note This message is confidential and may be privileged. If you are not the intended recipient, we kindly ask you to please inform the sender. Any unauthorised dissemination or copying hereof is prohibited. This message serves for information purposes only and shall not have any legally binding effect. Given that e-mails can easily be subject to manipulation, we can not accept any liability for the content provided. Date: Wed, 1 Apr 2009 16:57:49 +0200 Subject: Re: java.lang.OutOfMemoryError: PermGen space problem From: nick.stolw...@gmail.com To: users@maven.apache.org; srinivasv_amb...@yahoo.com Yes, set your maven_opts to raise the memory for your java process. ie. export MAVEN_OPTS=-Xmx512M -XX:MaxPermSize=512M Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Wed, Apr 1, 2009 at 4:51 PM, SRINIVASA RAO srinivasv_amb...@yahoo.com wrote: Hi all, When i run the mvn clean install -e command , it is getting the following error: java.lang.OutOfMemoryError: PermGen space maven Could anybody please guide to solve this problem . Regards, Sam - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org _ Rediscover Hotmail®: Now available on your iPhone or BlackBerry http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Mobile1_042009
Re: java.lang.OutOfMemoryError: PermGen space problem
When i put the following line into mvn.bat file, set MAVEN_OPTS=-Xmx512M -XX:MaxPermSize=512M It is still giving the error. Then bump the numbers higher until it stops giving the error. Did you really need to ask this question -- isn't it obvious?? Google for what Xmx and XX:MaxPermSize means and adjust accordingly. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: AW: Re: java.lang.OutOfMemoryError: Java heap space wile checking out
Hi, what is strange: In all other builds i get this log file: D:\build\work\64set MAVEN_OPTS=-Xmx1024m -Xms1024m -XX:MaxPermSize=512m [INFO] Scanning for projects... [INFO] [INFO] Building Accessmanagement [INFO]task-segment: [clean, deploy, site-deploy] [INFO] ... but in the one with the memory problem the first line misses and on the error raises: java.lang.OutOfMemoryError: Java heap space What can i try to fix it? Thanks, Thorsten I set an system environment variable (win2003) and added the 'set MAVEN_OPTS=...' in mvn.bat. ok, so the memory error isn't in continuum but in the maven execution. Do you have defined MAVEN_OPTS for the user that run continuum? [EMAIL PROTECTED] a écrit : What is your continuum version? It is 1.0.3 Here the complete log: INFO | jvm 1| 2006/07/13 16:30:17 | . INFO | jvm 1| 2006/07/13 16:30:17 | 250 2.6.0 [EMAIL PROTECTED] Queued mail for delivery INFO | jvm 1| 2006/07/13 16:30:17 | QUIT INFO | jvm 1| 2006/07/13 16:30:17 | 2006-07-13 16:30:16,697 [Thread-2] INFO Notifier:mail - Sending message: From '[EMAIL PROTECTED] [EMAIL PROTECTED]'. INFO | jvm 1| 2006/07/13 16:30:17 | 2006-07-13 16:30:16,697 [Thread-2] INFO Notifier:mail - Recipient: To '[EMAIL PROTECTED]'. INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG: setDebug: JavaMail version 1.3.2 INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc] INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: useEhlo true, useAuth false INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: trying to connect to host 172.16.0.14, port 25, isSSL false INFO | jvm 1| 2006/07/13 16:30:17 | 220 SRV-KOMMSYS.intern.plath.de Microsoft ESMTP MAIL Service, Version: 6.0.3790.1830 ready at Thu, 13 Jul 2006 16:30:14 +0200 INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: connected to host 172.16.0.14, port: 25 INFO | jvm 1| 2006/07/13 16:30:17 | INFO | jvm 1| 2006/07/13 16:30:17 | EHLO srv-ew-web INFO | jvm 1| 2006/07/13 16:30:17 | 250-SRV-KOMMSYS.intern.plath.de Hello [172.16.206.250] INFO | jvm 1| 2006/07/13 16:30:17 | 250-TURN INFO | jvm 1| 2006/07/13 16:30:17 | 250-SIZE 20971520 INFO | jvm 1| 2006/07/13 16:30:17 | 250-ETRN INFO | jvm 1| 2006/07/13 16:30:17 | 250-PIPELINING INFO | jvm 1| 2006/07/13 16:30:17 | 250-DSN INFO | jvm 1| 2006/07/13 16:30:17 | 250-ENHANCEDSTATUSCODES INFO | jvm 1| 2006/07/13 16:30:17 | 250-8bitmime INFO | jvm 1| 2006/07/13 16:30:17 | 250-BINARYMIME INFO | jvm 1| 2006/07/13 16:30:17 | 250-CHUNKING INFO | jvm 1| 2006/07/13 16:30:17 | 250-VRFY INFO | jvm 1| 2006/07/13 16:30:17 | 250-X-EXPS GSSAPI NTLM LOGIN INFO | jvm 1| 2006/07/13 16:30:17 | 250-X-EXPS=LOGIN INFO | jvm 1| 2006/07/13 16:30:17 | 250-AUTH GSSAPI NTLM LOGIN INFO | jvm 1| 2006/07/13 16:30:17 | 250-AUTH=LOGIN INFO | jvm 1| 2006/07/13 16:30:17 | 250-X-LINK2STATE INFO | jvm 1| 2006/07/13 16:30:17 | 250-XEXCH50 INFO | jvm 1| 2006/07/13 16:30:17 | 250 OK INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension TURN, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension SIZE, arg 20971520 INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension ETRN, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension PIPELINING, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension DSN, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension ENHANCEDSTATUSCODES, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension 8bitmime, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension BINARYMIME, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension CHUNKING, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension VRFY, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension X-EXPS, arg GSSAPI NTLM LOGIN INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension X-EXPS=LOGIN, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension AUTH, arg GSSAPI NTLM LOGIN INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension AUTH=LOGIN, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension X-LINK2STATE, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension XEXCH50, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension OK, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG
Re: java.lang.OutOfMemoryError: Java heap space wile checking out
Continuum doesn't use lot of memory and the build is done by maven itself, so your MAVEN_OPTS is used for the build. What is your continuum version? Send your logs before Build Error. Emmanuel [EMAIL PROTECTED] a écrit : Hi, for maven i set the environment variable MAVEN_OPTS to -Xmx1024m -Xms1024m -XX:MaxPermSize=512m and the build run ;-) Can i do something similar for continuum to let the build run? Thanks and Regards, Thorsten INFO | jvm 1| 2006/07/13 12:55:04 | INFO | jvm 1| 2006/07/13 12:55:04 | *** INFO | jvm 1| 2006/07/13 12:55:04 | Build Error: INFO | jvm 1| 2006/07/13 12:55:04 | *** INFO | jvm 1| 2006/07/13 12:55:04 | java.lang.OutOfMemoryError: ava heap space INFO | jvm 1| 2006/07/13 12:55:04 | INFO | jvm 1| 2006/07/13 12:55:04 | INFO | jvm 1| 2006/07/13 12:55:04 | . INFO | jvm 1| 2006/07/13 12:55:04 | 250 2.6.0 [EMAIL PROTECTED] Queued mail for elivery INFO | jvm 1| 2006/07/13 12:55:04 | QUIT INFO | jvm 1| 2006/07/13 12:55:08 | 2006-07-13 12:55:08,570 [SocketListener0-4] ERROR VelocityComponent - RHS of #set statement is null. Context will not be modified. screens/ProjectBuild.vm line 3, column 3]
AW: Re: java.lang.OutOfMemoryError: Java heap space wile checking out
What is your continuum version? It is 1.0.3 Here the complete log: INFO | jvm 1| 2006/07/13 16:30:17 | . INFO | jvm 1| 2006/07/13 16:30:17 | 250 2.6.0 [EMAIL PROTECTED] Queued mail for delivery INFO | jvm 1| 2006/07/13 16:30:17 | QUIT INFO | jvm 1| 2006/07/13 16:30:17 | 2006-07-13 16:30:16,697 [Thread-2] INFO Notifier:mail - Sending message: From '[EMAIL PROTECTED] [EMAIL PROTECTED]'. INFO | jvm 1| 2006/07/13 16:30:17 | 2006-07-13 16:30:16,697 [Thread-2] INFO Notifier:mail - Recipient: To '[EMAIL PROTECTED]'. INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG: setDebug: JavaMail version 1.3.2 INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc] INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: useEhlo true, useAuth false INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: trying to connect to host 172.16.0.14, port 25, isSSL false INFO | jvm 1| 2006/07/13 16:30:17 | 220 SRV-KOMMSYS.intern.plath.de Microsoft ESMTP MAIL Service, Version: 6.0.3790.1830 ready at Thu, 13 Jul 2006 16:30:14 +0200 INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: connected to host 172.16.0.14, port: 25 INFO | jvm 1| 2006/07/13 16:30:17 | INFO | jvm 1| 2006/07/13 16:30:17 | EHLO srv-ew-web INFO | jvm 1| 2006/07/13 16:30:17 | 250-SRV-KOMMSYS.intern.plath.de Hello [172.16.206.250] INFO | jvm 1| 2006/07/13 16:30:17 | 250-TURN INFO | jvm 1| 2006/07/13 16:30:17 | 250-SIZE 20971520 INFO | jvm 1| 2006/07/13 16:30:17 | 250-ETRN INFO | jvm 1| 2006/07/13 16:30:17 | 250-PIPELINING INFO | jvm 1| 2006/07/13 16:30:17 | 250-DSN INFO | jvm 1| 2006/07/13 16:30:17 | 250-ENHANCEDSTATUSCODES INFO | jvm 1| 2006/07/13 16:30:17 | 250-8bitmime INFO | jvm 1| 2006/07/13 16:30:17 | 250-BINARYMIME INFO | jvm 1| 2006/07/13 16:30:17 | 250-CHUNKING INFO | jvm 1| 2006/07/13 16:30:17 | 250-VRFY INFO | jvm 1| 2006/07/13 16:30:17 | 250-X-EXPS GSSAPI NTLM LOGIN INFO | jvm 1| 2006/07/13 16:30:17 | 250-X-EXPS=LOGIN INFO | jvm 1| 2006/07/13 16:30:17 | 250-AUTH GSSAPI NTLM LOGIN INFO | jvm 1| 2006/07/13 16:30:17 | 250-AUTH=LOGIN INFO | jvm 1| 2006/07/13 16:30:17 | 250-X-LINK2STATE INFO | jvm 1| 2006/07/13 16:30:17 | 250-XEXCH50 INFO | jvm 1| 2006/07/13 16:30:17 | 250 OK INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension TURN, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension SIZE, arg 20971520 INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension ETRN, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension PIPELINING, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension DSN, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension ENHANCEDSTATUSCODES, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension 8bitmime, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension BINARYMIME, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension CHUNKING, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension VRFY, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension X-EXPS, arg GSSAPI NTLM LOGIN INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension X-EXPS=LOGIN, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension AUTH, arg GSSAPI NTLM LOGIN INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension AUTH=LOGIN, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension X-LINK2STATE, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension XEXCH50, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension OK, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: use8bit false INFO | jvm 1| 2006/07/13 16:30:17 | MAIL FROM:[EMAIL PROTECTED] INFO | jvm 1| 2006/07/13 16:30:17 | 250 2.1.0 [EMAIL PROTECTED] OK INFO | jvm 1| 2006/07/13 16:30:17 | RCPT TO:[EMAIL PROTECTED] INFO | jvm 1| 2006/07/13 16:30:17 | 250 2.1.5 [EMAIL PROTECTED] INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Verified Addresses INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: [EMAIL PROTECTED] INFO | jvm 1| 2006/07/13 16:30:17 | DATA INFO | jvm 1| 2006/07/13 16:30:17 | 354 Start mail input; end with CRLF.CRLF INFO | jvm 1| 2006/07/13 16:30:17 | Message-ID: [EMAIL PROTECTED] INFO | jvm 1| 2006/07/13 16:30:17 | Date: Thu, 13 Jul 06 16:30:16 +0200 INFO | jvm 1| 2006/07/13 16:30:17 | From: [EMAIL PROTECTED] [EMAIL PROTECTED] INFO | jvm 1| 2006/07/13 16:30:17 | To: [EMAIL PROTECTED] INFO | jvm 1| 2006/07/13 16:30:17 | Subject: [continuum] BUILD ERROR: Workbench INFO | jvm 1|
Re: AW: Re: java.lang.OutOfMemoryError: Java heap space wile checking out
ok, so the memory error isn't in continuum but in the maven execution. Do you have defined MAVEN_OPTS for the user that run continuum? [EMAIL PROTECTED] a écrit : What is your continuum version? It is 1.0.3 Here the complete log: INFO | jvm 1| 2006/07/13 16:30:17 | . INFO | jvm 1| 2006/07/13 16:30:17 | 250 2.6.0 [EMAIL PROTECTED] Queued mail for delivery INFO | jvm 1| 2006/07/13 16:30:17 | QUIT INFO | jvm 1| 2006/07/13 16:30:17 | 2006-07-13 16:30:16,697 [Thread-2] INFO Notifier:mail - Sending message: From '[EMAIL PROTECTED] [EMAIL PROTECTED]'. INFO | jvm 1| 2006/07/13 16:30:17 | 2006-07-13 16:30:16,697 [Thread-2] INFO Notifier:mail - Recipient: To '[EMAIL PROTECTED]'. INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG: setDebug: JavaMail version 1.3.2 INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc] INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: useEhlo true, useAuth false INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: trying to connect to host 172.16.0.14, port 25, isSSL false INFO | jvm 1| 2006/07/13 16:30:17 | 220 SRV-KOMMSYS.intern.plath.de Microsoft ESMTP MAIL Service, Version: 6.0.3790.1830 ready at Thu, 13 Jul 2006 16:30:14 +0200 INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: connected to host 172.16.0.14, port: 25 INFO | jvm 1| 2006/07/13 16:30:17 | INFO | jvm 1| 2006/07/13 16:30:17 | EHLO srv-ew-web INFO | jvm 1| 2006/07/13 16:30:17 | 250-SRV-KOMMSYS.intern.plath.de Hello [172.16.206.250] INFO | jvm 1| 2006/07/13 16:30:17 | 250-TURN INFO | jvm 1| 2006/07/13 16:30:17 | 250-SIZE 20971520 INFO | jvm 1| 2006/07/13 16:30:17 | 250-ETRN INFO | jvm 1| 2006/07/13 16:30:17 | 250-PIPELINING INFO | jvm 1| 2006/07/13 16:30:17 | 250-DSN INFO | jvm 1| 2006/07/13 16:30:17 | 250-ENHANCEDSTATUSCODES INFO | jvm 1| 2006/07/13 16:30:17 | 250-8bitmime INFO | jvm 1| 2006/07/13 16:30:17 | 250-BINARYMIME INFO | jvm 1| 2006/07/13 16:30:17 | 250-CHUNKING INFO | jvm 1| 2006/07/13 16:30:17 | 250-VRFY INFO | jvm 1| 2006/07/13 16:30:17 | 250-X-EXPS GSSAPI NTLM LOGIN INFO | jvm 1| 2006/07/13 16:30:17 | 250-X-EXPS=LOGIN INFO | jvm 1| 2006/07/13 16:30:17 | 250-AUTH GSSAPI NTLM LOGIN INFO | jvm 1| 2006/07/13 16:30:17 | 250-AUTH=LOGIN INFO | jvm 1| 2006/07/13 16:30:17 | 250-X-LINK2STATE INFO | jvm 1| 2006/07/13 16:30:17 | 250-XEXCH50 INFO | jvm 1| 2006/07/13 16:30:17 | 250 OK INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension TURN, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension SIZE, arg 20971520 INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension ETRN, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension PIPELINING, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension DSN, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension ENHANCEDSTATUSCODES, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension 8bitmime, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension BINARYMIME, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension CHUNKING, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension VRFY, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension X-EXPS, arg GSSAPI NTLM LOGIN INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension X-EXPS=LOGIN, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension AUTH, arg GSSAPI NTLM LOGIN INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension AUTH=LOGIN, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension X-LINK2STATE, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension XEXCH50, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Found extension OK, arg INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: use8bit false INFO | jvm 1| 2006/07/13 16:30:17 | MAIL FROM:[EMAIL PROTECTED] INFO | jvm 1| 2006/07/13 16:30:17 | 250 2.1.0 [EMAIL PROTECTED] OK INFO | jvm 1| 2006/07/13 16:30:17 | RCPT TO:[EMAIL PROTECTED] INFO | jvm 1| 2006/07/13 16:30:17 | 250 2.1.5 [EMAIL PROTECTED] INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: Verified Addresses INFO | jvm 1| 2006/07/13 16:30:17 | DEBUG SMTP: [EMAIL PROTECTED] INFO | jvm 1| 2006/07/13 16:30:17 | DATA INFO | jvm 1| 2006/07/13 16:30:17 | 354 Start mail input; end with CRLF.CRLF INFO | jvm 1| 2006/07/13 16:30:17 | Message-ID: [EMAIL PROTECTED] INFO | jvm 1| 2006/07/13 16:30:17 | Date: Thu, 13 Jul 06 16:30:16 +0200 INFO | jvm 1| 2006/07/13 16:30:17 | From: [EMAIL PROTECTED] [EMAIL PROTECTED] INFO
Re: java.lang.OutOfMemoryError
xdoc is known to eat up memory big time for a large project. how many sub projects do you have? Does increase -Xms help? -D On 8/8/05, Jeffrey Mutonho [EMAIL PROTECTED] wrote: Hi I'm getting a java.lang.OutOfMemoryError message during build(see exact error below).I set MAVEN_OPTS=-Xmx512m;export MAVEN_OPTS in my .bash_profile .The machine is a Red Hat Linux Advanced Server release 2.1AS (Pensacola). The actual error message says : [echo] Generating /home/jmu016/maven-1.0/projects_main/projects/Safmarine/Cbpt/Exact_Web/target/docs/checkstyle-report.html from /home/jmu016/maven-1.0/projects_main/projects/Safmarine/Cbpt/Exact_Web/target/generated-xdocs/checkstyle-report.xml BUILD FAILED File.. /home/jmu016/maven-1.0/projects_main/projects/Safmarine/Cbpt/maven.xml Element... m:reactor Line.. 53 Column 40 Unable to obtain goal [exact-build-all] -- /home/jmu016/.maven/cache/maven-xdoc-plugin-1.8/plugin.jelly:360:43: x:parse java.lang.OutOfMemoryError Total time: 65 minutes 24 seconds Finished at: Mon Aug 08 14:24:19 SAST 2005 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: java.lang.OutOfMemoryError
Trying Maven 1.1 will help, but this is quite common to see. Checkstyle can be huge. If your checkstyle report is huge, turn it off. It's not helping you. - Brett On 8/9/05, Jeffrey Mutonho [EMAIL PROTECTED] wrote: Hi I'm getting a java.lang.OutOfMemoryError message during build(see exact error below).I set MAVEN_OPTS=-Xmx512m;export MAVEN_OPTS in my .bash_profile .The machine is a Red Hat Linux Advanced Server release 2.1AS (Pensacola). The actual error message says : [echo] Generating /home/jmu016/maven-1.0/projects_main/projects/Safmarine/Cbpt/Exact_Web/target/docs/checkstyle-report.html from /home/jmu016/maven-1.0/projects_main/projects/Safmarine/Cbpt/Exact_Web/target/generated-xdocs/checkstyle-report.xml BUILD FAILED File.. /home/jmu016/maven-1.0/projects_main/projects/Safmarine/Cbpt/maven.xml Element... m:reactor Line.. 53 Column 40 Unable to obtain goal [exact-build-all] -- /home/jmu016/.maven/cache/maven-xdoc-plugin-1.8/plugin.jelly:360:43: x:parse java.lang.OutOfMemoryError Total time: 65 minutes 24 seconds Finished at: Mon Aug 08 14:24:19 SAST 2005 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: java.lang.OutOfMemoryError
Don't turn it off, just reduce the rules. Create a second rule set file, narrowing to just the critical stuff. After those are cleaned up, then add more rules until you are back at the set you want to run. Mine is: MAVEN_OPTS=-Xmx1024m. Try increasing your memory size. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Monday, August 08, 2005 4:48 PM To: Maven Users List Subject: Re: java.lang.OutOfMemoryError Trying Maven 1.1 will help, but this is quite common to see. Checkstyle can be huge. If your checkstyle report is huge, turn it off. It's not helping you. - Brett On 8/9/05, Jeffrey Mutonho [EMAIL PROTECTED] wrote: Hi I'm getting a java.lang.OutOfMemoryError message during build(see exact error below).I set MAVEN_OPTS=-Xmx512m;export MAVEN_OPTS in my .bash_profile .The machine is a Red Hat Linux Advanced Server release 2.1AS (Pensacola). The actual error message says : [echo] Generating /home/jmu016/maven-1.0/projects_main/projects/Safmarine/Cbpt/Exact_Web /target/docs/checkstyle-report.html from /home/jmu016/maven-1.0/projects_main/projects/Safmarine/Cbpt/Exact_Web /target/generated-xdocs/checkstyle-report.xml BUILD FAILED File.. /home/jmu016/maven-1.0/projects_main/projects/Safmarine/Cbpt/maven.xml Element... m:reactor Line.. 53 Column 40 Unable to obtain goal [exact-build-all] -- /home/jmu016/.maven/cache/maven-xdoc-plugin-1.8/plugin.jelly:360:43: x:parse java.lang.OutOfMemoryError Total time: 65 minutes 24 seconds Finished at: Mon Aug 08 14:24:19 SAST 2005 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: java.lang.OutOfMemoryError during site:deploy, tar
When the build fails, the final tar is 0 bytes. The web site contains only a couple hundred megs worth of data, though. OS: RedHat ES 3.0 Physical RAM: 5G JDK: Sun j2sdk1.4.2_04 Maven: 1.0-rc2 I'm now using maven.site.deploy.method=fs which, since it doesn't use tar, works fine. I'm still a little concerned that I haven't been able to determine what the root cause of this OutOfMemoryError was -- I suspect it'll crop up again later. -adrian- -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Monday, May 03, 2004 4:15 PM To: 'Maven Users List' Subject: RE: java.lang.OutOfMemoryError during site:deploy, tar Interesting - how big is the final created tar? I have generated some huge sites without problems. Some more information on OS, etc. would be helpful. Thanks, - Brett -Original Message- From: Kalaveshi, Adrian [mailto:[EMAIL PROTECTED] Sent: Tuesday, 4 May 2004 3:04 AM To: '[EMAIL PROTECTED]' Subject: java.lang.OutOfMemoryError during site:deploy, tar Greetings -- I'm getting a 'java.lang.OutOfMemoryError' as follows: BUILD FAILED File.. file:/home/build/.maven/plugins/maven-site-plugin-1.5/plugin.j elly Element... tar Line.. 132 Column 91 java.lang.OutOfMemoryError Total time: 25 minutes 3 seconds The maximum Java heap size is set to 1900M via 'MAVEN_OPTS=-Xmx1900m'. It seems odd that I'd run out of memory while executing the tar task. Has anyone seen anything like this? -adrian- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: java.lang.OutOfMemoryError during site:deploy, tar
Interesting - how big is the final created tar? I have generated some huge sites without problems. Some more information on OS, etc. would be helpful. Thanks, - Brett -Original Message- From: Kalaveshi, Adrian [mailto:[EMAIL PROTECTED] Sent: Tuesday, 4 May 2004 3:04 AM To: '[EMAIL PROTECTED]' Subject: java.lang.OutOfMemoryError during site:deploy, tar Greetings -- I'm getting a 'java.lang.OutOfMemoryError' as follows: BUILD FAILED File.. file:/home/build/.maven/plugins/maven-site-plugin-1.5/plugin.j elly Element... tar Line.. 132 Column 91 java.lang.OutOfMemoryError Total time: 25 minutes 3 seconds The maximum Java heap size is set to 1900M via 'MAVEN_OPTS=-Xmx1900m'. It seems odd that I'd run out of memory while executing the tar task. Has anyone seen anything like this? -adrian- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: java.lang.OutOfMemoryError
Sure, set MAVEN_OPTS=-Xmx512m or something similar -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Pub Key:http://blogs.codehaus.org/people/dion/public-key.asc Rauf, Saleem [EMAIL PROTECTED] wrote on 08/11/2003 11:09:42 AM: Hi I am getting java.lang.OutOfMemoryError, see below: BUILD FAILED File.. file:/D:/Documents and Settings/srauf/. maven/plugins/maven-xdoc-plugin-1.4/ Element... x:parse Line.. 101 Column 46 java.lang.OutOfMemoryError Total time: 8 minutes 13 seconds Finished at: Fri Nov 07 17:58:55 CST 2003 Has anyone ran across this? Thanks, -S - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]