Start at https://confluence.atlassian.com/jirakb/troubleshooting-performance-problems-336169888.html and remember that just throwing memory at a java system can make things worse. You need to work out what the problem really is before you know that is a good answer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.