Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Crowd Recommended JVM settings to avoid OutOfMemory Exception

This is in regards to Crowd version: 3.3.5

 

Last night Crowd went into a hung state due to the:

java.lang.OutOfMemoryError: GC overhead limit exceeded exception

 

What I noticed after restarting crowd, was that this particular Error has appeared the last 3 days in a row at the same time. The time coincides with the scheduled daily xml backups.

 

2020-02-13 02:01:05,435 Caesium-2-3 ERROR [scheduler.caesium.impl.SchedulerQueueWorker] Unhandled exception thrown by job QueuedJob[jobId=AutomatedBackup,dead
line=1581559200000]
java.lang.OutOfMemoryError: GC overhead limit exceeded

 

When I look through the log analyzer it takes me to the following page:

https://confluence.atlassian.com/crowdkb/outofmemory-errors-in-crowd-224396874.html?utm_medium=logScan&utm_source=STP

Which recommends increasing the -Xmx size.

I want to know if there is a guideline i can follow that determines the right size to increase that parameter to.  Based on number of users, number of applications using this crowd instance as an authenticator, etc..

 

Currently this is what the setenv.sh is set to:

JAVA_OPTS="-Xms128m -Xmx512m -Dfile.encoding=UTF-8 $JAVA_OPTS"

would increasing from 512m  to 1024m suffice?

 

Also crowd only crashed last night even though the error message was present for the last 3 days.

Thanks in advance

1 answer

1 accepted

3 votes
Answer accepted

For anyone who looks at this I increased the value to 1024m and we haven't had any Out of memory error since.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase

The benefits of using Jira in different departments

Jira is a great tool to use across different departments. Forget that paperwork – switch to Jira and get that tasks done smoothly. Marketing Jira allows for a complete digital transformation of you...

50 views 0 2
Read article

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