On Wed, Sep 8, 2010 at 9:00 PM, Emmanuel Lécharny<[email protected]>  wrote:
On Wed, Sep 8, 2010 at 8:24 PM, Emmanuel Lecharny<[email protected]>
  wrote:
Well when i do a mvn clean install i get the below exception


[INFO] Surefire report directory:
D:\os\apacheDC\directory-checkstyle\target\surefire-reports
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Increase the heap size  to -Xmx1024m. It should work.
Did not help .. see below trace

What JVM are you using ?
Which Maven version ?
D:\os\apacheDC>mvn --version
Apache Maven 2.2.1 (r801777; 2009-08-07 00:46:01+0530)
Java version: 1.6.0_07
You should *really* switch to Java 1.6.0_20.  The Java version you are using
is more than 2 years and a half old...
maybe i should .. but do you think this could be the issue ??
May be not, but *many* issues have been fixed on the JDK since 1.6.0_07. Are you still using Windows 3.0 ? I guess not...
Can you give the command line you use to build the project ?
the command you said
mvn -e clean install
NOTE: a maven naive user here..

mvn clean install

Remove the -e, it may introduce some side effects. The verbose mode won't be helpful anyway...


--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

Reply via email to