Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot create plugin using atlas-create-jira-plugin

arjunsudhas
Contributor
July 31, 2018

error:

Executing: "C:\Applications\Atlassian\atlassian-plugin-sdk-6.3.10\apache-maven-3.2.1\bin\mvn.bat" com.atlassian.maven.plugins:maven-jira-plugin:"6.3.15":create -gs C:\Applications\Atlassian\atlassian-plugin-sdk-6.3.10\apache-maven-3.2.1/conf/settings.xml
Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0
Error occurred during initialization of VM
Could not reserve enough space for 786432KB object heap

1 answer

1 vote
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 31, 2018

Hello,

Add  <jvmArgs>-Xms512M -Xmx2g</jvmArgs> to your pom.xml before the following line

<productDataVersion>${jira.version}</productDataVersion>

arjunsudhas
Contributor
July 31, 2018

Hi, I am new to this and i am trying to execute this command from the cmd.

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 31, 2018

In your original question, the error is that there is something in your setup that is trying to allocate nearly 8Gb RAM to the JVM.   My guess is that your computer has 8Gb memory, so when it tries the allocation, it fails, as there's other bits of memory in use for things like the SDK and Operating System.

By default, the SDK uses a lot less than that, so you might want to look into what you have changed in your dev environment.

Alexey's suggestion should limit the allocation back to the defaults, which will not overflow the memory.

Suggest an answer

Log in or Sign up to answer