Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

BobSwift - Jira CLI error - cannot update project permission scheme Edited

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?



1 answer

1 vote
Adrian Atlassian Team Jan 07, 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

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you