most people I know just add the following to their environment variables

MAVEN_OPTS=-Xmx512m

jesse

On 3/22/07, Thierry Lach <[EMAIL PROTECTED]> wrote:
Any reason why this couldn't just be added permanently?

On 3/22/07, Andrew Williams <[EMAIL PROTECTED]> wrote:
>
> I sometimes get that problem too, when I see it I insert the
> following into the <build> section of continuum's root pom.xml
>
>      <plugins>
>        <plugin>
>          <groupId>org.apache.maven.plugins</groupId>
>          <artifactId>maven-surefire-plugin</artifactId>
>          <configuration>
>            <argLine>-Xmx512m</argLine>
>          </configuration>
>        </plugin>
>        <plugin>
>          <groupId>org.apache.maven.plugins</groupId>
>          <artifactId>maven-compiler-plugin</artifactId>
>          <configuration>
>            <fork>true</fork>
>            <meminitial>128m</meminitial>
>            <maxmem>512m</maxmem>
>          </configuration>
>        </plugin>
>      </plugins>
>
> Andy
>
> On 19 Mar 2007, at 22:59, Graham Leggett wrote:
>
> > Emmanuel Venisse wrote:
> >
> >> how many memory is allocated to the build? Normally the default is
> >> enough.
> >
> > No idea - checked out a pristine copy of trunk as of an hour or two
> > ago, and did an mvn install.
> >
> > Is there somewhere where memory allocations are set, perhaps in a
> > pom file?
> >
> > Regards,
> > Graham
> > --
>
>



--
jesse mcconnell
[EMAIL PROTECTED]

Reply via email to