On Tue, Dec 1, 2009 at 8:26 PM, Ben Dewey <[email protected]> wrote:
> I'm not sure if they are related, but I've increased the Memory on my VM to
> 1.5GB and I'm still getting an OutOfMemory exception running 'mvn clean
> install'. Is there something I'm missing or some switch to allow for more
> memory on the command window. Below is my log [1]:
Ben,
You can increase Java heap memory used by maven by setting a large
value. If you're building on Windows, do a set MAVEN_OPTS=-Xmx1024m
before doing a mvn clean install. Likewise, export
MAVEN_OPTS="-Xmx1024m" on Linux.
> What's also odd is that a lot of my .pom files are coming in as 301 html
> pages instead of pom xmls. [2]
No idea about this though.
Bye,
-Chintana
--
http://engwar.com/