BobSwift - Jira CLI error - cannot update project permission scheme

Murtaza Iqbal January 6, 2020

Jira Version: 6.0.4

Command: c:\Tools\atlassian-cli-4.5.0>jira -s https//jira.blah -u admin -p password --action updateProject --project "BLAH" --permissionScheme "Read_Only"

 

Hi all,

I am trying to run the above command which returns with the below error:

 

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

 

How do I go about fixing this?

 

Thanks

1 answer

1 vote
Adrian Stephen
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 7, 2020

Hi @Murtaza Iqbal 

 

The  java.lang.OutOfMemoryError: Java heap space message tells us that there might be insufficient heap allocated to Jira or a memory pressure issue. 

 

You may want to try increasing Jira's heap size, then restart Jira to see if it helps. 

You may increase the heap size following the steps here:

Increasing JIRA application memory

 

Please take note that if you are starting Jira as a service, please follow the Windows service section. 

Suggest an answer

Log in or Sign up to answer