JIRA application becomes inaccessible and need to restart the service.

I have opened a ticket at support site however was wondering if i could get from hear also.

My JIRA instance becomes inaccessible it says page cannot be displayed. I need to restart service of my JIRA instance to make it work. I am facing this problem since past 1week. Last week our server got stuck due to some reason and we need to restart it. i guess problem has occured after that week. However wo do have another instance of JIRA which is used by our client and it is working fine so i guess its not the problem from the server.

I m suspeting that error is occurring at below place:

Below is the place i am suspecting the error and it gives the error:

2014-03-20 01:12:58,934 http-bio-8083-exec-8 INFO kd8692 72x27358x2 1vvubqz 10.1.8.1 /browse/CM-44782 [atlassian.jira.security.WorkflowBasedPermissionManager] create not granted by workflow perm granting create to Project Role '10400'
2014-03-20 01:12:58,934 http-bio-8083-exec-8 INFO kd8692 72x27358x2 1vvubqz 10.1.8.1 /browse/CM-44782 [atlassian.jira.security.WorkflowBasedPermissionManager] create not granted by workflow perm granting create to Project Role '10401'
2014-03-20 01:12:58,934 http-bio-8083-exec-8 INFO kd8692 72x27358x2 1vvubqz 10.1.8.1 /browse/CM-44782 [atlassian.jira.security.WorkflowBasedPermissionManager] create not granted by workflow perm granting create to Project Role '10002'
2014-03-20 01:12:58,934 http-bio-8083-exec-8 INFO kd8692 72x27358x2 1vvubqz 10.1.8.1 /browse/CM-44782 [atlassian.jira.security.WorkflowBasedPermissionManager] create granted by permission scheme but DENIED by workflow
2014-03-20 01:21:06,548 http-bio-8083-exec-69 ERROR vk7247 76x27474x25 vz5zfv 10.1.8.1 /rest/gadget/1.0/piechart/generate [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service
java.lang.OutOfMemoryError: Java heap space
at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:41)
at java.awt.image.Raster.createPackedRaster(Raster.java:458)
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1015)
at java.awt.image.BufferedImage.<init>(BufferedImage.java:321)
at org.jfree.chart.JFreeChart.createBufferedImage(JFreeChart.java:1407)
at org.jfree.chart.JFreeChart.createBufferedImage(JFreeChart.java:1389)
at org.jfree.chart.ChartUtilities.writeChartAsPNG(ChartUtilities.java:183)
at org.jfree.chart.ChartUtilities.saveChartAsPNG(ChartUtilities.java:320)
at org.jfree.chart.servlet.ServletUtilities.saveChartAsPNG(ServletUtilities.java:187)
at com.atlassian.jira.charts.jfreechart.ChartHelper.generate(ChartHelper.java:52)
at com.atlassian.jira.charts.PieChart.generateChart(PieChart.java:181)
at com.atlassian.jira.charts.DefaultChartFactory.generatePieChart(DefaultChartFactory.java:91) <+2> (DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$AbstractMultiTenantAwareInvocationHandler.invokeInternal(MultiTenantComponentFactoryImpl.java:181)
at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$MultiTenantAwareInvocationHandler.invoke(MultiTenantComponentFactoryImpl.java:211)
at $Proxy472.generatePieChart(Unknown Source) <+2> (DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)
at $Proxy472.generatePieChart(Unknown Source) <+2> (DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154)
at $Proxy472.generatePieChart(Unknown Source)
at com.atlassian.jira.gadgets.system.PieChartResource.createChart(PieChartResource.java:145)
at com.atlassian.jira.gadgets.system.PieChartResource.getPieChart(PieChartResource.java:107) <+2> (DelegatingMethodAccessorImpl.java:25)
2014-03-20 01:43:43,598 localhost-startStop-1 INFO [jira.config.database.SystemTenantDatabaseConfigurationLoader] Reading database configuration from C:\Atlassian\Application Data\JIRA-IT-PROD\dbconfig.xml
2014-03-20 01:43:43,848 localhost-startStop-1 INFO [atlassian.jira.startup.JiraStartupLogger]

****************
JIRA starting...
****************

2014-03-20 01:43:43,863 localhost-startStop-1 INFO [atlassian.jira.startup.JiraStartupLogger]

___ Environment _____________________________

JIRA Build : 5.2.4.1#846-sha1:7ae4d0202ab5f5eae57dc13e61889b757decc922
Build Date : Thu Jan 10 00:00:00 CST 2013
JIRA Installation Type : Standalone
Application Server : Apache Tomcat/7.0.29 - Servlet API 3.0
Java Version : 1.6.0_27 - Sun Microsystems Inc.
Current Working Directory : C:\Atlassian\JIRA-IT-PROD\bin
Maximum Allowable Memory : 1820MB
Total Memory : 1016MB
Free Memory : 873MB
Used Memory : 143MB
Memory Pool: Code Cache : Code Cache: init = 2555904(2496K) used = 1834368(1791K) committed = 2555904(2496K) max = 50331648(49152K)
Memory Pool: PS Eden Space : PS Eden Space: init = 268500992(262208K) used = 144835048(141440K) committed = 343212032(335168K) max = 701562880(685120K)
Memory Pool: PS Survivor Space : PS Survivor Space: init = 44695552(43648K) used = 1507328(1472K) committed = 6881280(6720K) max = 6881280(6720K)
Memory Pool: PS Old Gen : PS Old Gen: init = 715849728(699072K) used = 4049992(3955K) committed = 715849728(699072K) max = 1431699456(1398144K)
Memory Pool: PS Perm Gen : PS Perm Gen: init = 21757952(21248K) used = 20588872(20106K) committed = 21757952(21248K) max = 536870912(524288K)
JVM Input Arguments : -Dcatalina.base=C:\Atlassian\JIRA-IT-PROD -Dcatalina.home=C:\Atlassian\JIRA-IT-PROD -Djava.endorsed.dirs=C:\Atlassian\JIRA-IT-PROD\endorsed -Djava.awt.headless=true -Datlassian.standalone=JIRA -Dmail.mime.decodeparameters=true -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Djava.io.tmpdir=C:\Atlassian\JIRA-IT-PROD\temp -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=C:\Atlassian\JIRA-IT-PROD\conf\logging.properties -XX:MaxPermSize=512m -Xms1024m -Xmx2048m

___ Java System Properties ________________

1 answer

You should be able to solve java.lang.OutOfMemoryError: Java heap space by increasing the heap space

https://confluence.atlassian.com/display/JIRA/Increasing+JIRA+Memory


Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

75 views 0 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you