Details
-
Bug
-
Resolution: Obsolete
-
Low
-
None
-
6.4.12, 7.2.8
-
6.04
-
1
-
0
-
Description
NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.
Summary
While rendering the charts in gadgets with large amount of data and big dimensions, there is a possibility of JIRA running out of memory.
Steps to Reproduce
1. Add a 'recently created' chart gadget to the dashboard, select a project which has large number of issues.
2. Specify a large value for width and height in the REST API that is used to generate the chart.
Expected Results
Chart is rendered properly or validation error is thrown.
Actual Results
Chart is not rendered and the below out of memory exception is seen in logs:
java.lang.OutOfMemoryError: Java heap space at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:75) at java.awt.image.Raster.createPackedRaster(Raster.java:467) at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1032) at java.awt.image.BufferedImage.<init>(BufferedImage.java:340) at org.jfree.chart.JFreeChart.createBufferedImage(JFreeChart.java:1407) at org.jfree.chart.JFreeChart.createBufferedImage(JFreeChart.java:1389) at com.atlassian.jira.charts.jfreechart.ChartHelper.createChartImageInline(ChartHelper.java:126) at com.atlassian.jira.charts.jfreechart.ChartHelper.generateInline(ChartHelper.java:85) at com.atlassian.jira.charts.RecentlyCreatedChart.generateChartInternal(RecentlyCreatedChart.java:162) at com.atlassian.jira.charts.RecentlyCreatedChart.generateInlineChart(RecentlyCreatedChart.java:83) at com.atlassian.jira.charts.DefaultChartFactory.generateRecentlyCreated(DefaultChartFactory.java:114) ... 2 filtered at java.lang.reflect.Method.invoke(Method.java:497) at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26) at com.sun.proxy.$Proxy143.generateRecentlyCreated(Unknown Source) ... 2 filtered at java.lang.reflect.Method.invoke(Method.java:497) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56) at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70) at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
Attachments
Issue Links
- relates to
-
JRACLOUD-60380 OutOfMemoryError when rendering gadgets charts
- Closed
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
- PIR - Priority Action
-
PIR-522 Loading...