Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Hudson » Error occurred during initialization of VM(Huson & Maven 3.1.1)
Error occurred during initialization of VM [message #1388211] Thu, 26 June 2014 06:05 Go to next message
Arunkumar chinnaswamy is currently offline Arunkumar chinnaswamyFriend
Messages: 7
Registered: May 2013
Junior Member
Hi,

We have installed maven 3.1.1 and configured in hudson. While running the job, i am getting the below error.

[workspace] $ D:\Configmgmt\maven_3.1.1\bin\mvn.bat -Dmaven.test.failure.ignore=true -P complete-build clean install -e
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

I have changed the Java_OPTS and MAVEN_OPTS in environment.

MAVEN_OPTS:

-Xms1024m -Xmx1024m -XX:MaxPermSize=1024m

JAVA_OPTS:

-Xms1024m -Xmx1024m -XX:PermSize=512m -XX:MaxPermSize=1024m

JDK: jdk1.5.0_22

I appreciated anyone can provide the solution.

Thanks
Arun.
Re: Error occurred during initialization of VM [message #1388216 is a reply to message #1388211] Thu, 26 June 2014 06:10 Go to previous messageGo to next message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 534
Registered: August 2011
Location: Fremont, CA USA
Senior Member
You should set in the "Invoke Maven 3" builder. Click on the advanced button and scroll all the way down where you see "JVM Options". There enter "-Xmx256m -XX:MaxPermSize=128m"

BTW, don't provide excessive amount otherwise there may not be enough physical memory.


Winston Prakash
Eclipse Hudson team
Re: Error occurred during initialization of VM [message #1388218 is a reply to message #1388216] Thu, 26 June 2014 06:14 Go to previous message
Arunkumar chinnaswamy is currently offline Arunkumar chinnaswamyFriend
Messages: 7
Registered: May 2013
Junior Member
Hi winston,

There is no "Invoke Maven 3" in hudson. Whether i have to install "Maven 3" plugin in hudson. Please confirm.

Thanks
Arun.
Previous Topic:Linux Server and Windows Slave
Next Topic:"more" build history
Goto Forum:
  


Current Time: Thu Mar 28 16:34:43 GMT 2024

Powered by FUDForum. Page generated in 0.02758 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top