Up the memory using MAVEN_OPTS is an even better solution.
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/


"Siegfried G�schl" <[EMAIL PROTECTED]> wrote on 25/08/2003 
10:28:12 PM:

> Hi Eran,
> 
> I'm puzzled why you still run out of memory since I build fairly huge 
> application with 256 MB for the JVM
> 
> Some things you could do
> 
> +) If you are using the multi-project plugin (aka reactor) then stop 
> using it. It does all the work within a single JVM and a couple of 
> tools such as javac do have memory leaks. I'm using ant ANT script to 
> do the work of reactor ...
> 
> +) Using forking for the JUNIT regression tests then the tests 
> execute in a separate JVM
> 
> +) I aslo ran out of memory for creating javadoc and therefore I 
> tweaked the plugin to use more memory for the javadoc process (at 
> least for MAVEN b7)
> 
> Cheers,
> 
> Siegfried Goeschl
> 
> 
> 
> On 25 Aug 2003 at 15:55, Eran Chinthaka wrote:
> 
> > I checked the wiki and disabled the linkcheck plugin. But the problem
> > of out of memory is still there :(
> > 
> > Eran Chinthaka
> > Eurocenter DDC Limited
> > 65, Walukarama Road
> > Colombo 03
> > Tel: 074 721194-6
> > 
> > 
> > -----Original Message-----
> > From: Siegfried G�schl [mailto:[EMAIL PROTECTED] 
> > Sent: 25 August 2003 15:16
> > To: Maven Users List
> > Subject: RE: OutOfMemory Error
> > 
> > 
> > checkout the FAQ at the maven wiki
> > 
> > Siegfried Goeschl
> > 
> > On 25 Aug 2003 at 12:21, Eran Chinthaka wrote:
> > 
> > > I found the method to increase the memory. But how to disable the
> > > linkcheck plugin
> > > 
> > > 
> > > 
> > > 
> > > -----Original Message-----
> > > From: Eran Chinthaka
> > > Sent: 25 August 2003 08:48
> > > To: Maven Users List
> > > Subject: RE: OutOfMemory Error
> > > 
> > > 
> > > Please forgive me for asking a question like this. But I have to ask
> > > this as I'm a newbie to this and really interested in this.
> > > 
> > > How can I disable linkcheck plugin or increase memory (via
> > > MAVEN_OPTS). My system has 512 MB memory.
> > > 
> > > 
> > > 
> > > Eran Chinthaka
> > > 
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > > Sent: 25 August 2003 08:28
> > > To: Maven Users List
> > > Subject: Re: OutOfMemory Error
> > > 
> > > 
> > > Either disable the linkcheck plugin (post goal) or increase memory
> > > (via MAVEN_OPTS). -- dIon Gillard, Multitask Consulting Blog: 
> > > http://blogs.codehaus.org/people/dion/
> > > 
> > > 
> > > "Eran Chinthaka" <[EMAIL PROTECTED]> wrote on 22/08/2003
> > > 09:50:03
> > > 
> > > PM:
> > > 
> > > > 
> > > >     [echo] Generating E:/mavenReports/docs/junit-report.html from
> > > >     E: 
> > > > \mavenReports\generated-xdocs\junit-report.xml
> > > >     [echo] Generating E:/mavenReports/docs/linkcheck.html from E:
> > > > \mavenReports\generated-xdocs\linkcheck.xml
> > > >     [echo] Generating E:/mavenReports/docs/mail-lists.html from E:
> > > > 
> > > > \mavenReports\generated-xdocs\mail-lists.xml
> > > >     [echo] Generating E:/mavenReports/docs/maven-reports.html from
> > > > E:\mavenReports\generated-xdocs\maven-reports.xml
> > > >     [echo] Generating E:/mavenReports/docs/project-info.html from
> > > >     E:
> > > > \mavenReports\generated-xdocs\project-info.xml
> > > >     [echo] Generating E:/mavenReports/docs/task-list.html from E:
> > > > \mavenReports\generated-xdocs\task-list.xml
> > > >     [echo] Generating E:/mavenReports/docs/team-list.html from E:
> > > > \mavenReports\generated-xdocs\team-list.xml
> > > > maven-linkcheck-plugin: Not using a proxy
> > > > 
> > > > BUILD FAILED
> > > > java.lang.reflect.InvocationTargetException
> > > >         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:324)
> > > >         at org.apache.commons.jelly.impl.DynamicBeanTag.
> > > > doTag(DynamicBeanTag.java:230)
> > > >         at org.apache.commons.jelly.impl.StaticTagScript.
> > > > run(StaticTagScript.java:145)
> > > >         at
> > > org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
> > > > 
> > >        at
> > > org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
> > > > 
> > >        at
> > > com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128) > 
> > > 
> > >     at com.werken.werkz.Goal.fire(Goal.java:639) >         at
> > > com.werken.werkz.Goal.attain(Goal.java:575) >         at
> > > com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) > 
> > > 
> > >    at
> > > com.werken.werkz.jelly.AttainGoalTag.doTag(AttainGoalTag.java:134) >
> > > 
> > >       at org.apache.maven.jelly.tags.werkz.LazyAttainGoalTag. >
> > > doTag(LazyAttainGoalTag.java:107) >         at
> > > org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) > 
> > > 
> > >    at
> > > org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
> > > > 
> > >        at
> > > org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
> > > > 
> > >        at
> > > org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88) > 
> > > 
> > >  at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
> > >  > 
> > >        at
> > > org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
> > > > 
> > >        at
> > > org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
> > > > 
> > >        at org.apache.commons.jelly.tags.core.ForEachTag. >
> > > doTag(ForEachTag.java:145) >         at
> > > org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) > 
> > > 
> > >    at
> > > org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
> > > > 
> > >        at
> > > org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
> > > > 
> > >        at
> > > org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88) > 
> > > 
> > >  at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
> > >  > 
> > >        at
> > > org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
> > > > 
> > >        at
> > > org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
> > > > 
> > >        at com.werken.werkz.jelly.PostGoalTag$1. >
> > > firePostGoal(PostGoalTag.java:87) >         at
> > > com.werken.werkz.Goal.firePostGoalCallbacks(Goal.java:710) > 
> > > at com.werken.werkz.Goal.fire(Goal.java:654) >         at
> > > com.werken.werkz.Goal.attain(Goal.java:575) >         at
> > > com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) > 
> > > 
> > >    at
> > > com.werken.werkz.jelly.AttainGoalTag.doTag(AttainGoalTag.java:134) >
> > > 
> > >       at org.apache.maven.jelly.tags.werkz.LazyAttainGoalTag. >
> > > doTag(LazyAttainGoalTag.java:107) >         at
> > > org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) > 
> > > 
> > >    at
> > > org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
> > > > 
> > >        at
> > > org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
> > > > 
> > >        at
> > > com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128) > 
> > > 
> > >     at com.werken.werkz.Goal.fire(Goal.java:639) >         at
> > > com.werken.werkz.Goal.attain(Goal.java:575) >         at
> > > com.werken.werkz.Goal.attainPrecursors(Goal.java:488) >         at
> > > com.werken.werkz.Goal.attain(Goal.java:573) >         at
> > > com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) > 
> > > 
> > >    at
> > > com.werken.werkz.jelly.AttainGoalTag.doTag(AttainGoalTag.java:134) >
> > > 
> > >       at org.apache.maven.jelly.tags.werkz.LazyAttainGoalTag. >
> > > doTag(LazyAttainGoalTag.java:107) >         at
> > > org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) > 
> > > 
> > >    at
> > > org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
> > > > 
> > >        at
> > > org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
> > > > 
> > >        at
> > > com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128) > 
> > > 
> > >     at com.werken.werkz.Goal.fire(Goal.java:639) >         at
> > > com.werken.werkz.Goal.attain(Goal.java:575) >         at
> > > com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) > 
> > > 
> > >    at
> > > com.werken.werkz.jelly.AttainGoalTag.doTag(AttainGoalTag.java:134) >
> > > 
> > >       at org.apache.maven.jelly.tags.werkz.LazyAttainGoalTag. >
> > > doTag(LazyAttainGoalTag.java:107) >         at
> > > org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) > 
> > > 
> > >    at
> > > org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
> > > > 
> > >        at
> > > org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
> > > > 
> > >        at
> > > com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128) > 
> > > 
> > >     at com.werken.werkz.Goal.fire(Goal.java:639) >         at
> > > com.werken.werkz.Goal.attain(Goal.java:575) >         at
> > > org.apache.maven.plugin.PluginManager. >
> > > attainGoals(PluginManager.java:434) >         at
> > > org.apache.maven.MavenSession.attainGoals(MavenSession.java:348) > 
> > > 
> > >     at org.apache.maven.cli.App.doMain(App.java:525) >         at
> > > org.apache.maven.cli.App.main(App.java:1088) >         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:324) >         at
> > > com.werken.forehead.Forehead.run(Forehead.java:543) >         at
> > > com.werken.forehead.Forehead.main(Forehead.java:573) > Caused by:
> > > java.lang.OutOfMemoryError > File...... file:/C:/Documents and
> > > Settings/eurcolhya.EC_COLOMBO/. >
> > > maven/plugins/maven-linkcheck-plugin-1.1-SNAPSHOT/ > Element...
> > > linkcheck:linkcheck > Line...... 73 > Column.... 9 >
> > > java.lang.reflect.InvocationTargetException > Total time: 22 minutes
> > > 40 seconds > > E:\projects\automa>t > > >   Eran Chinthaka >
> > > Software Engineer > Eurocenter DDC Limited > 65, Walukarama Road >
> > > Colombo 03 > Tel: (+94) 074 721194-6 > 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]
> > > 
> > 
> > 
> > 
> > Siegfried Goeschl
> > CTO
> > =================================
> > IT20one GmbH
> > mail: [EMAIL PROTECTED]
> > phone: +43-1-9900046
> > fax: +43-1-52 37 888
> > www.it20one.at
> > 
> > ---------------------------------------------------------------------
> > 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]
> > 
> 
> 
> 
> Siegfried Goeschl
> CTO
> =================================
> IT20one GmbH
> mail: [EMAIL PROTECTED]
> phone: +43-1-9900046
> fax: +43-1-52 37 888
> www.it20one.at
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to