mvn release:perform java.lang.OutOfMemoryError: Java heap space
Team : We are facing the following error during the mvn release:perform process. Please help me in this. [INFO] [ERROR] Java heap space - [Help 1] [INFO] java.lang.OutOfMemoryError: Java heap space [INFO] at java.util.Arrays.copyOf(Arrays.java:2786) [INFO] at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:94) [INFO] at sun.net.www.http.PosterOutputStream.write(PosterOutputStream.java:61) [INFO] at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:492) [INFO] at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:457) [INFO] at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:411) [INFO] at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:392) [INFO] at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:365) [INFO] at org.apache.maven.wagon.StreamWagon.put(StreamWagon.java:163) [INFO] at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$PutTask.run(WagonRepositoryConnector.java:825) [INFO] at org.sonatype.aether.connector.wagon.WagonRepositoryConnector.put(WagonRepositoryConnector.java:465) [INFO] at org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:278) [INFO] at org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:215) [INFO] at org.sonatype.aether.impl.internal.DefaultRepositorySystem.deploy(DefaultRepositorySystem.java:480) [INFO] at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:137) [INFO] at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:156) [INFO] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) [INFO] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) [INFO] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) [INFO] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) [INFO] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) [INFO] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) [INFO] at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) [INFO] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) [INFO] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) [INFO] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) [INFO] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) [INFO] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) [INFO] at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) [INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [INFO] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [INFO] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) Thanks PurnachandraRao. This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you.
Re: mvn release:perform java.lang.OutOfMemoryError: Java heap space
Hi PurnachandraRao, [INFO] [ERROR] Java heap space - [Help 1] [INFO] java.lang.OutOfMemoryError: Java heap space Did you try increasing max heap size with the MAVEN_OPTS environment variable? Something like: export MAVEN_OPTS=-Xmx1536m Regards, Curtis On Tue, Apr 17, 2012 at 10:03 AM, Bobbepalli, Purnachandrarao purnachandrarao.bobbepa...@chase.com wrote: Team : We are facing the following error during the mvn release:perform process. Please help me in this. [INFO] [ERROR] Java heap space - [Help 1] [INFO] java.lang.OutOfMemoryError: Java heap space [INFO] at java.util.Arrays.copyOf(Arrays.java:2786) [INFO] at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:94) [INFO] at sun.net.www.http.PosterOutputStream.write(PosterOutputStream.java:61) [INFO] at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:492) [INFO] at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:457) [INFO] at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:411) [INFO] at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:392) [INFO] at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:365) [INFO] at org.apache.maven.wagon.StreamWagon.put(StreamWagon.java:163) [INFO] at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$PutTask.run(WagonRepositoryConnector.java:825) [INFO] at org.sonatype.aether.connector.wagon.WagonRepositoryConnector.put(WagonRepositoryConnector.java:465) [INFO] at org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:278) [INFO] at org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:215) [INFO] at org.sonatype.aether.impl.internal.DefaultRepositorySystem.deploy(DefaultRepositorySystem.java:480) [INFO] at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:137) [INFO] at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:156) [INFO] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) [INFO] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) [INFO] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) [INFO] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) [INFO] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) [INFO] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) [INFO] at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) [INFO] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) [INFO] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) [INFO] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) [INFO] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) [INFO] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) [INFO] at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) [INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [INFO] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [INFO] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) Thanks PurnachandraRao. This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you.
junitreport java.lang.OutOfMemoryError: PermGen space
I'm trying to use junitreport to generate HTML output out of the XML junit testresults. However I keep having the java.lang.OutOfMemoryError: PermGen space. I already tried to set the MAVEN_OPTS in HUDSON to -XX:MaxPermSize=2048m. I know that the default permgen size starts with 64Kb. So I tried setting this to 256m, 1024m and finally 2048m, but nothing helps. According to me it should be possible not to change the MAVEN_OPTS but to directly set the MaxPermSize on the maven-antrun-plugin. Because in this plugin the junitreport is build. However I really don't know how to instruct the maven-antrun-plugin to use a higher MaxPermSize. Building the junitreport is done after the complete build is done and all the junit tests are run. Can somebody please help me with this? Thx. Here is a copy of my pom.xml: build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-antrun-plugin/artifactId version1.4/version executions execution phaseinstall/phase configuration tasks echo message= / echo message=Convert JUnit report from XML to HTML ) / echo message=--- / echo message=Start XML to HTML conversion / junitreport todir=c:/_composer/_build/_test/reports fileset dir=c:/_composer/_build/_test/ include name=TEST-*.xml/ /fileset report format=frames todir=c:/_composer/_build/_test/reports/html/ /junitreport echo message=Finished XML to HTML conversion / echo message= / /tasks /configuration goals goalrun/goal /goals /execution /executions dependencies dependency groupIdorg.apache.ant/groupId artifactIdant-junit/artifactId version1.8.1/version /dependency dependency groupIdorg.apache.ant/groupId artifactIdant-trax/artifactId version1.8.0/version /dependency dependency groupIdxalan/groupId artifactIdxalan/artifactId version2.7.1/version /dependency /dependencies /plugin /plugins /build -- View this message in context: http://old.nabble.com/junitreport-%3E%3E-java.lang.OutOfMemoryError%3A-PermGen-space-tp28801867p28801867.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
java.lang.OutOfMemoryError: Java heap space in Wagon
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
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: Maven java.lang.OutOfMemoryError
Thanks alexander Thanks Regards Sammaiah Nagapuri Inaction breeds doubt and fear. Action breeds confidence and courage. If you want to conquer fear, do not sit home and think about it. Go out and get busy. -Original Message- From: Alexander [mailto:the.malk...@gmail.com] Sent: Thursday, August 13, 2009 7:34 PM To: Maven Users List Subject: Re: Maven java.lang.OutOfMemoryError Hi, No, If you already resolved all dependencies there is no need to compile again in online mode. You could force turn on offline mode with -o or --offline command line option. Reason why maven is trying to acces Internet is smth like update dependencies with SNAPSHOTS version and similar. And what about your stacktrace - there is clearly said that connection was dropped in cause of timeout. You should run maven commands in offline mode as your computure (not laptop) dont have access to internet. P.S. BTW also you could manually resolve all dependencies via mvn dependensy:resolve 2009/8/13 Sammaiah Nagapuri sammaiah.nagap...@hcl.in Hi all, This is sammaiah nagapuri. Sorry if I am asking trivial issue. I am the new user for this community and I am just learning now. What the problem I am getting is in my company we don't have access to lot of cites. Is it really necessary to work with maven? And one more thing is if we download all the plugins while connecting to the internet and I am trying now to perform one task like compile (mvn compile). This time also is it really necessary the internet connection? As we already downloaded all the plugins. Then why it will connect to internet once again even though we are having some plugins in our repository? I am facing this problem nearly from 2 weeks. I am searching in google about this. But I am not getting any info. I am getting the stacktrace like following one. -- F:\Ravi\sammvn compile [INFO] Scanning for projects... [INFO] [INFO] Building Maven Default Project [INFO]task-segment: [compile] [INFO] Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.3/maven-resources-plugin-2.3.pom [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-resources-plugin:pom:2.3' from repository central (http://repo1.maven.org/maven2): Er ror transferring file: Connection timed out: connect Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.3/maven-resources-plugin-2.3.pom [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-resources-plugin:pom:2.3' from repository central (http://repo1.maven.org/maven2): Er ror transferring file: Connection timed out: connect [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. GroupId: org.apache.maven.plugins ArtifactId: maven-resources-plugin Version: 2.3 Reason: Unable to download the artifact from any repository org.apache.maven.plugins:maven-resources-plugin:pom:2.3 from the specified remote repositories: central (http://repo1.maven.org/maven2) [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 43 seconds [INFO] Finished at: Thu Aug 13 18:04:40 GMT+05:30 2009 [INFO] Final Memory: 1M/2M Here what I done is my laptop is having internet connection. So there I done like 'mvn install'. Later I copied those repositories into another system (which is not having internet connection). There I am getting this problem? I am working in Bangalore. If anybody is there in Bangalore please share the mobile number. Then I'll call you. Please show me some way. Thanks in advance. Thanks Regards Sammaiah Nagapuri Inaction breeds doubt and fear. Action breeds confidence and courage. If you want to conquer fear, do not sit home and think about it. Go out and get busy. -Original Message- From: Bruno Aranda [mailto:brunoara...@gmail.com] Sent: Thursday, August 13, 2009 5:10 PM To: Maven Users List Subject: Re: Maven java.lang.OutOfMemoryError It's MAVEN_OPTS Cheers, Bruno 2009/8/13 kopemor developm...@knollenstein.nl: Hello, I am getting java.lang.OutOfMemoryError: Java heap space exception when I compile my project using Maven. I have tried several options: 1. Setting variable: export MAVEN_OPT=-Xmx1024m 2. Using Maven compile plugin: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.5
Maven java.lang.OutOfMemoryError
Hello, I am getting java.lang.OutOfMemoryError: Java heap space exception when I compile my project using Maven. I have tried several options: 1. Setting variable: export MAVEN_OPT=-Xmx1024m 2. Using Maven compile plugin: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.5/target encodingUTF-8/encoding argLine-Xms512m/argLine argLine-Xmx1024m/argLine disableXmlReporttrue/disableXmlReport /configuration /plugin I have even tried to put max heap size to 4094, the result is the same. Any help? -- View this message in context: http://www.nabble.com/Maven-java.lang.OutOfMemoryError-tp24952498p24952498.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven java.lang.OutOfMemoryError
Try -Xmx900m, -Xms128m 2009/8/13 kopemor developm...@knollenstein.nl Hello, I am getting java.lang.OutOfMemoryError: Java heap space exception when I compile my project using Maven. I have tried several options: 1. Setting variable: export MAVEN_OPT=-Xmx1024m 2. Using Maven compile plugin: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.5/target encodingUTF-8/encoding argLine-Xms512m/argLine argLine-Xmx1024m/argLine disableXmlReporttrue/disableXmlReport /configuration /plugin I have even tried to put max heap size to 4094, the result is the same. Any help? -- View this message in context: http://www.nabble.com/Maven-java.lang.OutOfMemoryError-tp24952498p24952498.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Regards, Alexander
Re: Maven java.lang.OutOfMemoryError
I think you need to fork the compiler. See http://maven.apache.org/plugins/maven-compiler-plugin/examples/compile-with-memory-enhancements.html Martijn On Thu, Aug 13, 2009 at 12:26 PM, kopemordevelopm...@knollenstein.nl wrote: Hello, I am getting java.lang.OutOfMemoryError: Java heap space exception when I compile my project using Maven. I have tried several options: 1. Setting variable: export MAVEN_OPT=-Xmx1024m 2. Using Maven compile plugin: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.5/target encodingUTF-8/encoding argLine-Xms512m/argLine argLine-Xmx1024m/argLine disableXmlReporttrue/disableXmlReport /configuration /plugin I have even tried to put max heap size to 4094, the result is the same. Any help? -- View this message in context: http://www.nabble.com/Maven-java.lang.OutOfMemoryError-tp24952498p24952498.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.4 increases type safety for web applications Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.0 - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven java.lang.OutOfMemoryError
It's MAVEN_OPTS Cheers, Bruno 2009/8/13 kopemor developm...@knollenstein.nl: Hello, I am getting java.lang.OutOfMemoryError: Java heap space exception when I compile my project using Maven. I have tried several options: 1. Setting variable: export MAVEN_OPT=-Xmx1024m 2. Using Maven compile plugin: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.5/target encodingUTF-8/encoding argLine-Xms512m/argLine argLine-Xmx1024m/argLine disableXmlReporttrue/disableXmlReport /configuration /plugin I have even tried to put max heap size to 4094, the result is the same. Any help? -- View this message in context: http://www.nabble.com/Maven-java.lang.OutOfMemoryError-tp24952498p24952498.html Sent from the Maven - Users mailing list archive at Nabble.com. - 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: Maven java.lang.OutOfMemoryError
Hi all, This is sammaiah nagapuri. Sorry if I am asking trivial issue. I am the new user for this community and I am just learning now. What the problem I am getting is in my company we don't have access to lot of cites. Is it really necessary to work with maven? And one more thing is if we download all the plugins while connecting to the internet and I am trying now to perform one task like compile (mvn compile). This time also is it really necessary the internet connection? As we already downloaded all the plugins. Then why it will connect to internet once again even though we are having some plugins in our repository? I am facing this problem nearly from 2 weeks. I am searching in google about this. But I am not getting any info. I am getting the stacktrace like following one. -- F:\Ravi\sammvn compile [INFO] Scanning for projects... [INFO] [INFO] Building Maven Default Project [INFO]task-segment: [compile] [INFO] Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.3/maven-resources-plugin-2.3.pom [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-resources-plugin:pom:2.3' from repository central (http://repo1.maven.org/maven2): Er ror transferring file: Connection timed out: connect Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.3/maven-resources-plugin-2.3.pom [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-resources-plugin:pom:2.3' from repository central (http://repo1.maven.org/maven2): Er ror transferring file: Connection timed out: connect [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. GroupId: org.apache.maven.plugins ArtifactId: maven-resources-plugin Version: 2.3 Reason: Unable to download the artifact from any repository org.apache.maven.plugins:maven-resources-plugin:pom:2.3 from the specified remote repositories: central (http://repo1.maven.org/maven2) [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 43 seconds [INFO] Finished at: Thu Aug 13 18:04:40 GMT+05:30 2009 [INFO] Final Memory: 1M/2M Here what I done is my laptop is having internet connection. So there I done like 'mvn install'. Later I copied those repositories into another system (which is not having internet connection). There I am getting this problem? I am working in Bangalore. If anybody is there in Bangalore please share the mobile number. Then I'll call you. Please show me some way. Thanks in advance. Thanks Regards Sammaiah Nagapuri Inaction breeds doubt and fear. Action breeds confidence and courage. If you want to conquer fear, do not sit home and think about it. Go out and get busy. -Original Message- From: Bruno Aranda [mailto:brunoara...@gmail.com] Sent: Thursday, August 13, 2009 5:10 PM To: Maven Users List Subject: Re: Maven java.lang.OutOfMemoryError It's MAVEN_OPTS Cheers, Bruno 2009/8/13 kopemor developm...@knollenstein.nl: Hello, I am getting java.lang.OutOfMemoryError: Java heap space exception when I compile my project using Maven. I have tried several options: 1. Setting variable: export MAVEN_OPT=-Xmx1024m 2. Using Maven compile plugin: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.5/target encodingUTF-8/encoding argLine-Xms512m/argLine argLine-Xmx1024m/argLine disableXmlReporttrue/disableXmlReport /configuration /plugin I have even tried to put max heap size to 4094, the result is the same. Any help? -- View this message in context: http://www.nabble.com/Maven-java.lang.OutOfMemoryError-tp24952498p24952498.html Sent from the Maven - Users mailing list archive at Nabble.com. - 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 DISCLAIMER: --- The contents of this e-mail and any attachment(s) are confidential and intended for the named
Re: Maven java.lang.OutOfMemoryError
Thanks guys for your suggestions. I have used the following compiler plugin configuration: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.5/target encodingUTF-8/encoding forktrue/fork meminitial512m/meminitial maxmem1024m/maxmem /configuration /plugin It helped, but not straightway. I am using multiple project structure and have one aggregate project that manages other sub projects and provides configuration used by all sub projects. The compiler plugin above was specified in the aggregate project and the project that was failing was one of the sub projects. However, when I placed the compiler plugin configuration specified above into the sub project's POM the compilation went fine. I am not Maven guru and I have probably missed something, but I was assuming that sub project will use configurations from the parent one. Thanks for your help! Bruno Aranda wrote: It's MAVEN_OPTS Cheers, Bruno 2009/8/13 kopemor developm...@knollenstein.nl: Hello, I am getting java.lang.OutOfMemoryError: Java heap space exception when I compile my project using Maven. I have tried several options: 1. Setting variable: export MAVEN_OPT=-Xmx1024m 2. Using Maven compile plugin: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.5/target encodingUTF-8/encoding argLine-Xms512m/argLine argLine-Xmx1024m/argLine disableXmlReporttrue/disableXmlReport /configuration /plugin I have even tried to put max heap size to 4094, the result is the same. Any help? -- View this message in context: http://www.nabble.com/Maven-java.lang.OutOfMemoryError-tp24952498p24952498.html Sent from the Maven - Users mailing list archive at Nabble.com. - 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 -- View this message in context: http://www.nabble.com/Maven-java.lang.OutOfMemoryError-tp24952498p24954068.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven java.lang.OutOfMemoryError
Hi, No, If you already resolved all dependencies there is no need to compile again in online mode. You could force turn on offline mode with -o or --offline command line option. Reason why maven is trying to acces Internet is smth like update dependencies with SNAPSHOTS version and similar. And what about your stacktrace - there is clearly said that connection was dropped in cause of timeout. You should run maven commands in offline mode as your computure (not laptop) dont have access to internet. P.S. BTW also you could manually resolve all dependencies via mvn dependensy:resolve 2009/8/13 Sammaiah Nagapuri sammaiah.nagap...@hcl.in Hi all, This is sammaiah nagapuri. Sorry if I am asking trivial issue. I am the new user for this community and I am just learning now. What the problem I am getting is in my company we don't have access to lot of cites. Is it really necessary to work with maven? And one more thing is if we download all the plugins while connecting to the internet and I am trying now to perform one task like compile (mvn compile). This time also is it really necessary the internet connection? As we already downloaded all the plugins. Then why it will connect to internet once again even though we are having some plugins in our repository? I am facing this problem nearly from 2 weeks. I am searching in google about this. But I am not getting any info. I am getting the stacktrace like following one. -- F:\Ravi\sammvn compile [INFO] Scanning for projects... [INFO] [INFO] Building Maven Default Project [INFO]task-segment: [compile] [INFO] Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.3/maven-resources-plugin-2.3.pom [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-resources-plugin:pom:2.3' from repository central (http://repo1.maven.org/maven2): Er ror transferring file: Connection timed out: connect Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.3/maven-resources-plugin-2.3.pom [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-resources-plugin:pom:2.3' from repository central (http://repo1.maven.org/maven2): Er ror transferring file: Connection timed out: connect [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. GroupId: org.apache.maven.plugins ArtifactId: maven-resources-plugin Version: 2.3 Reason: Unable to download the artifact from any repository org.apache.maven.plugins:maven-resources-plugin:pom:2.3 from the specified remote repositories: central (http://repo1.maven.org/maven2) [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 43 seconds [INFO] Finished at: Thu Aug 13 18:04:40 GMT+05:30 2009 [INFO] Final Memory: 1M/2M Here what I done is my laptop is having internet connection. So there I done like 'mvn install'. Later I copied those repositories into another system (which is not having internet connection). There I am getting this problem? I am working in Bangalore. If anybody is there in Bangalore please share the mobile number. Then I'll call you. Please show me some way. Thanks in advance. Thanks Regards Sammaiah Nagapuri Inaction breeds doubt and fear. Action breeds confidence and courage. If you want to conquer fear, do not sit home and think about it. Go out and get busy. -Original Message- From: Bruno Aranda [mailto:brunoara...@gmail.com] Sent: Thursday, August 13, 2009 5:10 PM To: Maven Users List Subject: Re: Maven java.lang.OutOfMemoryError It's MAVEN_OPTS Cheers, Bruno 2009/8/13 kopemor developm...@knollenstein.nl: Hello, I am getting java.lang.OutOfMemoryError: Java heap space exception when I compile my project using Maven. I have tried several options: 1. Setting variable: export MAVEN_OPT=-Xmx1024m 2. Using Maven compile plugin: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.5/target encodingUTF-8/encoding argLine-Xms512m/argLine argLine-Xmx1024m/argLine disableXmlReporttrue/disableXmlReport /configuration /plugin I have even tried to put max heap size to 4094, the result is the same. Any help? -- View this message in context: http://www.nabble.com/Maven
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
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
maven release:perform get java.lang.OutOfMemoryError
Hi, When I try to release:perform I got java.lang.OutOfMemoryError javadoc: java.lang.OutOfMemoryError: Please increase memory. For example, on the Sun Classic or HotSpot VMs, add the option -J-Xmx such as -J-Xmx32m. How can I increase the heap size for the javadoc? -- View this message in context: http://www.nabble.com/maven-release%3Aperform-get-java.lang.OutOfMemoryError-tp19064014p19064014.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven release:perform get java.lang.OutOfMemoryError
Perhaps by taking a look at the documentation? See the Javadoc plugin documentation page [1] and then especially the additionalJOption option. [1] http://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Wed, Aug 20, 2008 at 9:13 AM, hackaton [EMAIL PROTECTED] wrote: Hi, When I try to release:perform I got java.lang.OutOfMemoryError javadoc: java.lang.OutOfMemoryError: Please increase memory. For example, on the Sun Classic or HotSpot VMs, add the option -J-Xmx such as -J-Xmx32m. How can I increase the heap size for the javadoc? -- View this message in context: http://www.nabble.com/maven-release%3Aperform-get-java.lang.OutOfMemoryError-tp19064014p19064014.html Sent from the Maven - Users mailing list archive at Nabble.com. - 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: maven release:perform get java.lang.OutOfMemoryError
Nick Stolwijk wrote: documentation page [1] and then especially the additionalJOption Doesn't even need to. There is a maxmemory option. Stefan [1] http://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Wed, Aug 20, 2008 at 9:13 AM, hackaton [EMAIL PROTECTED] wrote: Hi, When I try to release:perform I got java.lang.OutOfMemoryError javadoc: java.lang.OutOfMemoryError: Please increase memory. For example, on the Sun Classic or HotSpot VMs, add the option -J-Xmx such as -J-Xmx32m. How can I increase the heap size for the javadoc? -- View this message in context: http://www.nabble.com/maven-release%3Aperform-get-java.lang.OutOfMemoryError-tp19064014p19064014.html Sent from the Maven - Users mailing list archive at Nabble.com. - 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] -- best regards, Stefan Seidel software developer VUB Printmedia GmbH Chopinstraße 4 D-04103 Leipzig Germany tel.+49 (341) 9 60 50 07 fax.+49 (341) 9 60 50 92 mail. [EMAIL PROTECTED] web.www.vub.de HRB Köln 24015 UStID DE 122 649 251 GF Dr. Achim Preuss Neudorf, Dr. Christian Preuss Neudorf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven release:perform get java.lang.OutOfMemoryError
Thanks all, I didn’t realize the javadoc plugin is used behind screen, this work for me reporting plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-javadoc-plugin/artifactId configuration maxmemory512M/maxmemory /configuration /plugin /plugins /reporting hackaton wrote: Hi, When I try to release:perform I got java.lang.OutOfMemoryError javadoc: java.lang.OutOfMemoryError: Please increase memory. For example, on the Sun Classic or HotSpot VMs, add the option -J-Xmx such as -J-Xmx32m. How can I increase the heap size for the javadoc? -- View this message in context: http://www.nabble.com/maven-release%3Aperform-get-java.lang.OutOfMemoryError-tp19064014p19065138.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Maven + Cargo] java.lang.OutOfMemoryError while remote deploying to Tomcat 5.0
Hello, I have a web project that gets built into a war file. I am trying to get it to work with remote deployment to Tomcat, as I've seen other people saying that this configuration works for them (seen e.g. at http://www.mail-archive.com/[EMAIL PROTECTED]/msg39920.html) plugins plugin artifactIdmaven-war-plugin/artifactId configuration webXmlsrc/main/webapp/WEB-INF/web.xml/webXml archive manifest addClasspathtrue/addClasspath classpathPrefixlib//classpathPrefix /manifest /archive /configuration /plugin plugin inheritedtrue/inherited groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId executions execution idverify-deploy/id phaseinstall/phase goals goaldeployer-deploy/goal /goals /execution execution idclean-undeploy/id phasepre-clean/phase goals goaldeployer-undeploy/goal /goals /execution /executions configuration !-- Container Configuration -- container containerIdtomcat5x/containerId typeremote/type /container !-- Configuration to use with the container -- configuration typeruntime/type properties cargo.tomcat.manager.url http://localhost:8080/manager /cargo.tomcat.manager.url cargo.remote.username admin /cargo.remote.username cargo.remote.password tomcat /cargo.remote.password /properties /configuration !-- Deployer and Deployables configuration -- deployer typeremote/type deployables deployable groupIdcom.company.project/groupId artifactIdwebproject/artifactId typewar/type pingURL http://localhost:8080/webproject/jsp/default.jsp /pingURL /deployable /deployables /deployer /configuration /plugin /plugins However when I try to deploy my war file using e.g. mvn clean install, I get the java.lang.OutOfMemoryError: (...) [INFO] [cargo:deployer-deploy
Re: [Maven + Cargo] java.lang.OutOfMemoryError while remote deploying to Tomcat 5.0
Adjust Maven's heap space with MAVEN_OPTS: set MAVEN_OPTS=-Xmx512m (or export ...) Wayne On 2/28/08, Papapara Tudu [EMAIL PROTECTED] wrote: Hello, I have a web project that gets built into a war file. I am trying to get it to work with remote deployment to Tomcat, as I've seen other people saying that this configuration works for them (seen e.g. at http://www.mail-archive.com/[EMAIL PROTECTED]/msg39920.html) plugins plugin artifactIdmaven-war-plugin/artifactId configuration webXmlsrc/main/webapp/WEB-INF/web.xml/webXml archive manifest addClasspathtrue/addClasspath classpathPrefixlib//classpathPrefix /manifest /archive /configuration /plugin plugin inheritedtrue/inherited groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId executions execution idverify-deploy/id phaseinstall/phase goals goaldeployer-deploy/goal /goals /execution execution idclean-undeploy/id phasepre-clean/phase goals goaldeployer-undeploy/goal /goals /execution /executions configuration !-- Container Configuration -- container containerIdtomcat5x/containerId typeremote/type /container !-- Configuration to use with the container -- configuration typeruntime/type properties cargo.tomcat.manager.url http://localhost:8080/manager /cargo.tomcat.manager.url cargo.remote.username admin /cargo.remote.username cargo.remote.password tomcat /cargo.remote.password /properties /configuration !-- Deployer and Deployables configuration -- deployer typeremote/type deployables deployable groupIdcom.company.project/groupId artifactIdwebproject/artifactId typewar/type pingURL http://localhost:8080/webproject/jsp/default.jsp /pingURL /deployable /deployables /deployer /configuration /plugin /plugins However when I try to deploy my war file using e.g. mvn clean install, I get the java.lang.OutOfMemoryError: (...) [INFO] [cargo:deployer-deploy {execution: verify-deploy}] [INFO] [mcat5xRemoteDeployer] Deploying [here path to the war file] [INFO] [ERROR] FATAL ERROR [INFO] [INFO] null [INFO] [INFO] Trace java.lang.OutOfMemoryError [INFO] (...) Any ideas what I could be doing wrong? Thanks, Papapara Tudu -- View this message in context: http://www.nabble.com/-Maven-%2B-Cargo--java.lang.OutOfMemoryError-while-remote-deploying-to-Tomcat-5.0-tp15741242s177p15741242.html Sent from the Maven - Users mailing list archive at Nabble.com
Caused by: java.lang.OutOfMemoryError: Java heap space
I'm getting the OutOfMemoryError when running junit tests for my webservice project.I've tried set MAVEN_OPTS=-Xmx512m -Xms512m -XX:MaxPermSize=512m and set MAVEN_OPTS=-Xmx1024m -Xms1024m -XX:MaxPermSize=1024m , but that doesn't seem to help. -- Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042
Re: Caused by: java.lang.OutOfMemoryError: Java heap space
on linux you'll probably need to do export instead of set Jeff Mutonho wrote, On 2006-08-31 11:52 AM: I'm getting the OutOfMemoryError when running junit tests for my webservice project.I've tried set MAVEN_OPTS=-Xmx512m -Xms512m -XX:MaxPermSize=512m and set MAVEN_OPTS=-Xmx1024m -Xms1024m -XX:MaxPermSize=1024m , but that doesn't seem to help. -- With kind regards, Geoffrey De Smet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Caused by: java.lang.OutOfMemoryError: Java heap space
On 8/31/06, Jeff Mutonho [EMAIL PROTECTED] wrote: I'm getting the OutOfMemoryError when running junit tests for my webservice project.I've tried set MAVEN_OPTS=-Xmx512m -Xms512m -XX:MaxPermSize=512m and set MAVEN_OPTS=-Xmx1024m -Xms1024m -XX:MaxPermSize=1024m , but that doesn't seem to help. Maybe you can try this in your pom.xml - project build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId version2.2/version configuration argLine-Xmx1024m/argLine disableXmlReporttrue/disableXmlReport /configuration /plugin /plugins /build /project Regards, Vinod. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Caused by: java.lang.OutOfMemoryError: Java heap space
On 8/31/06, Geoffrey De Smet [EMAIL PROTECTED] wrote: on linux you'll probably need to do export instead of set Thanks .This is currently running on an XP machine -- With kind regards, Geoffrey De Smet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042
Re: Caused by: java.lang.OutOfMemoryError: Java heap space
On 8/31/06, Vinod Panicker [EMAIL PROTECTED] wrote: On 8/31/06, Jeff Mutonho [EMAIL PROTECTED] wrote: I'm getting the OutOfMemoryError when running junit tests for my webservice project.I've tried set MAVEN_OPTS=-Xmx512m -Xms512m -XX:MaxPermSize=512m and set MAVEN_OPTS=-Xmx1024m -Xms1024m -XX:MaxPermSize=1024m , but that doesn't seem to help. Maybe you can try this in your pom.xml - project build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId version2.2/version configuration argLine-Xmx1024m/argLine disableXmlReporttrue/disableXmlReport /configuration /plugin /plugins /build /project Regards, Vinod. - That sorted it.Thanx -- Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042
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
java.lang.OutOfMemoryError: Java heap space wile checking out
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]
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
| 2006/07/13 16:30:17 | MIME-Version: 1.0 INFO | jvm 1| 2006/07/13 16:30:17 | Content-Type: text/plain; charset=us-ascii INFO | jvm 1| 2006/07/13 16:30:17 | Content-Transfer-Encoding: 7bit INFO | jvm 1| 2006/07/13 16:30:17 | INFO | jvm 1| 2006/07/13 16:30:17 | Online report : http://srv-ew-web:8086/continuum/servlet/continuum/target/ProjectBuild.vm/view/ProjectBuild/id/51/buildId/302 INFO | jvm 1| 2006/07/13 16:30:17 | Build statistics: INFO | jvm 1| 2006/07/13 16:30:17 | State: Error INFO | jvm 1| 2006/07/13 16:30:17 | Previous State: Error INFO | jvm 1| 2006/07/13 16:30:17 | Started at: Do, 13 Jul 2006 16:30:12 +0200 INFO | jvm 1| 2006/07/13 16:30:17 | Finished at: Do, 13 Jul 2006 16:30:16 +0200 INFO | jvm 1| 2006/07/13 16:30:17 | Total time: 3s INFO | jvm 1| 2006/07/13 16:30:17 | Build Trigger: Forced INFO | jvm 1| 2006/07/13 16:30:17 | Exit code: 0 INFO | jvm 1| 2006/07/13 16:30:17 | Building machine hostname: srv-ew-web INFO | jvm 1| 2006/07/13 16:30:17 | Operating system : Windows 2003(Service Pack 1) INFO | jvm 1| 2006/07/13 16:30:17 | Java version : 1.5.0_06(Sun Microsystems Inc.) INFO | jvm 1| 2006/07/13 16:30:17 | INFO | jvm 1| 2006/07/13 16:30:17 | INFO | jvm 1| 2006/07/13 16:30:17 | INFO | jvm 1| 2006/07/13 16:30:17 | Build Error: INFO | jvm 1| 2006/07/13 16:30:17 | INFO | jvm 1| 2006/07/13 16:30:17 | java.lang.OutOfMemoryError: Java heap space INFO | jvm 1| 2006/07/13 16:30:17 | INFO | jvm 1| 2006/07/13 16:30:17 | 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:20 | 2006-07-13 16:30:20,275 [SocketListener0-4] ERROR VelocityComponent - RHS of #set statement is null. Context will not be modified. screens/ProjectBuild.vm [line 103, column 3] 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]
Re: AW: Re: java.lang.OutOfMemoryError: Java heap space wile checking out
| 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| 2006/07/13 16:30:17 | MIME-Version: 1.0 INFO | jvm 1| 2006/07/13 16:30:17 | Content-Type: text/plain; charset=us-ascii INFO | jvm 1| 2006/07/13 16:30:17 | Content-Transfer-Encoding: 7bit INFO | jvm 1| 2006/07/13 16:30:17 | INFO | jvm 1| 2006/07/13 16:30:17 | Online report : http://srv-ew-web:8086/continuum/servlet/continuum/target/ProjectBuild.vm/view/ProjectBuild/id/51/buildId/302 INFO | jvm 1| 2006/07/13 16:30:17 | Build statistics: INFO | jvm 1| 2006/07/13 16:30:17 | State: Error INFO | jvm 1| 2006/07/13 16:30:17 | Previous State: Error INFO | jvm 1| 2006/07/13 16:30:17 | Started at: Do, 13 Jul 2006 16:30:12 +0200 INFO | jvm 1| 2006/07/13 16:30:17 | Finished at: Do, 13 Jul 2006 16:30:16 +0200 INFO | jvm 1| 2006/07/13 16:30:17 | Total time: 3s INFO | jvm 1| 2006/07/13 16:30:17 | Build Trigger: Forced INFO | jvm 1| 2006/07/13 16:30:17 | Exit code: 0 INFO | jvm 1| 2006/07/13 16:30:17 | Building machine hostname: srv-ew-web INFO | jvm 1| 2006/07/13 16:30:17 | Operating system : Windows 2003(Service Pack 1) INFO | jvm 1| 2006/07/13 16:30:17 | Java version : 1.5.0_06(Sun Microsystems Inc.) INFO | jvm 1| 2006/07/13 16:30:17 | INFO | jvm 1| 2006/07/13 16:30:17 | INFO | jvm 1| 2006/07/13 16:30:17 | INFO | jvm 1| 2006/07/13 16:30:17 | Build Error: INFO | jvm 1| 2006/07/13 16:30:17 | INFO | jvm 1| 2006/07/13 16:30:17 | java.lang.OutOfMemoryError: Java heap space INFO | jvm 1| 2006/07/13 16:30:17 | INFO | jvm 1| 2006/07/13 16:30:17 | 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:20 | 2006-07-13 16:30:20,275 [SocketListener0-4] ERROR VelocityComponent - RHS of #set statement is null. Context will not be modified. screens/ProjectBuild.vm [line 103, column 3] 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]
Re: Findbugs: java.lang.OutOfMemoryError: Java heap space
Thanks, it was the MaxPermSize that I needed to set. And I set them all to 512m and it still worked. Brian On 2/10/06, Daniel Beland [EMAIL PROTECTED] wrote: This is what I had to set to prevent all errors when building the site with a lot of reports MAVEN_OPTS= -Xmx1024m -Xms1024m -XX:MaxPermSize=512m I don't think the values need to be that high, but I think it is important to increase the MaxPermSize which is 32M by default I think On 2/10/06, M.-Leander Reimer [EMAIL PROTECTED] wrote: I had the same problem. However, increasing the memory via MAVEN_OPTS didn't help at all. Then I tried setting the findbugs plugin variable maven.findbugs.jvmargs=-Xmx512m but that didn't help either. In the end I upgraded from plugin version 1.0 to version 1.1 and the out of memory error disappeared. So try that. Leander Brian Burridge schrieb: I've tried 512, and that's all the memory I have on this laptop. Would it really require more than that for one report? I only have the findbugs report running in my pom right now. Brian On 2/10/06, Jeff Jensen [EMAIL PROTECTED] wrote: Perhaps set that value higher? Quoting Brian Burridge [EMAIL PROTECTED]: When I run the findbugs plugin I a getting an out of memory error: java heap sapce. I have set MAVEN_OPTS=-Xmx400m Is there something else I should set as well? Brian - 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]
Findbugs: java.lang.OutOfMemoryError: Java heap space
When I run the findbugs plugin I a getting an out of memory error: java heap sapce. I have set MAVEN_OPTS=-Xmx400m Is there something else I should set as well? Brian
Re: Findbugs: java.lang.OutOfMemoryError: Java heap space
Perhaps set that value higher? Quoting Brian Burridge [EMAIL PROTECTED]: When I run the findbugs plugin I a getting an out of memory error: java heap sapce. I have set MAVEN_OPTS=-Xmx400m Is there something else I should set as well? Brian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Findbugs: java.lang.OutOfMemoryError: Java heap space
I've tried 512, and that's all the memory I have on this laptop. Would it really require more than that for one report? I only have the findbugs report running in my pom right now. Brian On 2/10/06, Jeff Jensen [EMAIL PROTECTED] wrote: Perhaps set that value higher? Quoting Brian Burridge [EMAIL PROTECTED]: When I run the findbugs plugin I a getting an out of memory error: java heap sapce. I have set MAVEN_OPTS=-Xmx400m Is there something else I should set as well? Brian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Findbugs: java.lang.OutOfMemoryError: Java heap space
I had the same problem. However, increasing the memory via MAVEN_OPTS didn't help at all. Then I tried setting the findbugs plugin variable maven.findbugs.jvmargs=-Xmx512m but that didn't help either. In the end I upgraded from plugin version 1.0 to version 1.1 and the out of memory error disappeared. So try that. Leander Brian Burridge schrieb: I've tried 512, and that's all the memory I have on this laptop. Would it really require more than that for one report? I only have the findbugs report running in my pom right now. Brian On 2/10/06, Jeff Jensen [EMAIL PROTECTED] wrote: Perhaps set that value higher? Quoting Brian Burridge [EMAIL PROTECTED]: When I run the findbugs plugin I a getting an out of memory error: java heap sapce. I have set MAVEN_OPTS=-Xmx400m Is there something else I should set as well? Brian - 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: Findbugs: java.lang.OutOfMemoryError: Java heap space
This is what I had to set to prevent all errors when building the site with a lot of reports MAVEN_OPTS= -Xmx1024m -Xms1024m -XX:MaxPermSize=512m I don't think the values need to be that high, but I think it is important to increase the MaxPermSize which is 32M by default I think On 2/10/06, M.-Leander Reimer [EMAIL PROTECTED] wrote: I had the same problem. However, increasing the memory via MAVEN_OPTS didn't help at all. Then I tried setting the findbugs plugin variable maven.findbugs.jvmargs=-Xmx512m but that didn't help either. In the end I upgraded from plugin version 1.0 to version 1.1 and the out of memory error disappeared. So try that. Leander Brian Burridge schrieb: I've tried 512, and that's all the memory I have on this laptop. Would it really require more than that for one report? I only have the findbugs report running in my pom right now. Brian On 2/10/06, Jeff Jensen [EMAIL PROTECTED] wrote: Perhaps set that value higher? Quoting Brian Burridge [EMAIL PROTECTED]: When I run the findbugs plugin I a getting an out of memory error: java heap sapce. I have set MAVEN_OPTS=-Xmx400m Is there something else I should set as well? Brian - 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]
java.lang.OutOfMemoryError
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]
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]
site build generates java.lang.OutOfMemoryError
Greetings -- I've appeared to have reached some threshold in which I am no longer to perform a 'site' build using the reactor. It now fails with a 'java.lang.OutOfMemoryError'. In looking at the output, I see many Memory: 370M/526M banners. The numbers never go down and only seem to increase. Is that normal behavior? What do these numbers indicate? OS: RedHat ES 3.0 Physical RAM: 5G JDK: Sun j2sdk1.4.2_04 Maven: 1.0-rc2 MAVEN_OPTS=-Xmx1900m In total, the reactor is acting on 50 projects or so. Thanks for your help. -adrian- - 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]
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.jelly 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 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]
java.lang.OutOfMemoryError
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]
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]
java.lang.OutOfMemoryError while running test:test
Hi All, At some point in the last few days I started getting java.lang.OutOfMemoryError while running my junit tests. I have tried a number of src and binary versions of maven and still get the same error, although which test finally fails differs from version to version. I've tried increasing the value 'MAVEN_OPTS=-Xmx256m' to 512 and 1024 in the maven script with no luck. From ant, the tests take about 90 seconds with no problems, but with maven, they die with this error after about 3 minutes. Each test runs successfully when run one at a time using the test:single goal. I don't know what to try next or where to look, can anyone point me in the right direction? TIA, Colin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]