java.lang.OutOfMemoryError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Optimum Memory (can compromise on speed) way to Transcode
    via by Raja Nagendra Kumar,
  • Optimum Memory (can compromise on speed) way to Transcode
    via by Raja Nagendra Kumar,
  • GitHub comment 119#126861593
    via GitHub by lolodomo
    ,
  • {code} 2015-06-18 01:37:48,036 ERROR [conversion-thread-3] [plugins.conversion.impl.TimeoutConversionRunnable] run Cannot convert. Execution error: -- referer: https://extranet.atlassian.com/pages/editpage.action?pageId=2392722882 | url: /rest/documentConversion/latest/conversion/thumbnail/results | userName: mfinch java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:206) at com.atlassian.confluence.plugins.conversion.impl.TimeoutConversionRunnable.run(TimeoutConversionRunnable.java:75) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: 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 com.aspose.pdf.internal.p429.z2.m6(Unknown Source) at com.aspose.pdf.internal.p429.z2.m1(Unknown Source) at com.aspose.pdf.internal.p310.z2.m1(Unknown Source) at com.aspose.pdf.internal.p310.z2.<init>(Unknown Source) at com.aspose.pdf.internal.p310.z2.<init>(Unknown Source) at com.aspose.pdf.internal.p310.z23.m2(Unknown Source) at com.aspose.pdf.internal.p310.z23.m1(Unknown Source) at com.aspose.pdf.internal.p310.z23.m1(Unknown Source) at com.aspose.pdf.internal.p310.z23.m1(Unknown Source) at com.aspose.pdf.internal.p582.z8.m1(Unknown Source) at com.aspose.pdf.internal.p525.z1.m1(Unknown Source) at com.aspose.pdf.internal.p512.z20.m2(Unknown Source) at com.aspose.pdf.internal.p512.z20.m4(Unknown Source) at com.aspose.pdf.internal.p512.z7.m2(Unknown Source) at com.aspose.pdf.internal.p512.z7.m1(Unknown Source) at com.aspose.pdf.devices.z1.m1(Unknown Source) at com.aspose.pdf.devices.z1.m1(Unknown Source) at com.aspose.pdf.devices.ImageDevice.m1(Unknown Source) at com.aspose.pdf.devices.JpegDevice.processInternal(Unknown Source) at com.aspose.pdf.devices.JpegDevice.process(Unknown Source) at com.atlassian.plugins.conversion.convert.image.ImagingConverter.thumbnailForPdf(Unknown Source) at com.atlassian.plugins.conversion.convert.image.ImagingConverter.generateThumbnailDirect(Unknown Source) at com.atlassian.confluence.plugins.conversion.impl.runnable.JVMConversionRunnable.doWork(JVMConversionRunnable.java:67) at com.atlassian.confluence.plugins.conversion.impl.runnable.ConversionRunnable.run(ConversionRunnable.java:39) at com.atlassian.confluence.plugins.conversion.impl.runnable.JVMConversionRunnable.run(JVMConversionRunnable.java:18) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) {code}
    via by Alice Wang [Atlassian],
  • JIRA can run out of memory attempting to render a chart. An error similar to the following will be visible in the application log: {noformat} 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) {noformat}
    via by Richard Cordova [Atlassian],
  • {code} 2015-06-18 01:37:48,036 ERROR [conversion-thread-3] [plugins.conversion.impl.TimeoutConversionRunnable] run Cannot convert. Execution error: -- referer: https://extranet.atlassian.com/pages/editpage.action?pageId=2392722882 | url: /rest/documentConversion/latest/conversion/thumbnail/results | userName: mfinch java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:206) at com.atlassian.confluence.plugins.conversion.impl.TimeoutConversionRunnable.run(TimeoutConversionRunnable.java:75) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: 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 com.aspose.pdf.internal.p429.z2.m6(Unknown Source) at com.aspose.pdf.internal.p429.z2.m1(Unknown Source) at com.aspose.pdf.internal.p310.z2.m1(Unknown Source) at com.aspose.pdf.internal.p310.z2.<init>(Unknown Source) at com.aspose.pdf.internal.p310.z2.<init>(Unknown Source) at com.aspose.pdf.internal.p310.z23.m2(Unknown Source) at com.aspose.pdf.internal.p310.z23.m1(Unknown Source) at com.aspose.pdf.internal.p310.z23.m1(Unknown Source) at com.aspose.pdf.internal.p310.z23.m1(Unknown Source) at com.aspose.pdf.internal.p582.z8.m1(Unknown Source) at com.aspose.pdf.internal.p525.z1.m1(Unknown Source) at com.aspose.pdf.internal.p512.z20.m2(Unknown Source) at com.aspose.pdf.internal.p512.z20.m4(Unknown Source) at com.aspose.pdf.internal.p512.z7.m2(Unknown Source) at com.aspose.pdf.internal.p512.z7.m1(Unknown Source) at com.aspose.pdf.devices.z1.m1(Unknown Source) at com.aspose.pdf.devices.z1.m1(Unknown Source) at com.aspose.pdf.devices.ImageDevice.m1(Unknown Source) at com.aspose.pdf.devices.JpegDevice.processInternal(Unknown Source) at com.aspose.pdf.devices.JpegDevice.process(Unknown Source) at com.atlassian.plugins.conversion.convert.image.ImagingConverter.thumbnailForPdf(Unknown Source) at com.atlassian.plugins.conversion.convert.image.ImagingConverter.generateThumbnailDirect(Unknown Source) at com.atlassian.confluence.plugins.conversion.impl.runnable.JVMConversionRunnable.doWork(JVMConversionRunnable.java:67) at com.atlassian.confluence.plugins.conversion.impl.runnable.ConversionRunnable.run(ConversionRunnable.java:39) at com.atlassian.confluence.plugins.conversion.impl.runnable.JVMConversionRunnable.run(JVMConversionRunnable.java:18) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) {code}
    via by Alice Wang [Atlassian],
  • h3. 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. h3. 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. h3. Expected Results Chart is rendered properly or validation error is thrown. h3. Actual Results Chart is not rendered and the below out of memory exception is seen in logs: {noformat} 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) {noformat}
    via by Richard Cordova [Atlassian],
  • {panel:bgColor=#e7f4fa} *NOTE:* This bug report is for *Confluence Server*. Using *Confluence Cloud*? [See the corresponding bug report|http://jira.atlassian.com/browse/CONFCLOUD-38441]. {panel} {code} 2015-06-18 01:37:48,036 ERROR [conversion-thread-3] [plugins.conversion.impl.TimeoutConversionRunnable] run Cannot convert. Execution error: -- referer: https://extranet.atlassian.com/pages/editpage.action?pageId=2392722882 | url: /rest/documentConversion/latest/conversion/thumbnail/results | userName: mfinch java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:206) at com.atlassian.confluence.plugins.conversion.impl.TimeoutConversionRunnable.run(TimeoutConversionRunnable.java:75) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: 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 com.aspose.pdf.internal.p429.z2.m6(Unknown Source) at com.aspose.pdf.internal.p429.z2.m1(Unknown Source) at com.aspose.pdf.internal.p310.z2.m1(Unknown Source) at com.aspose.pdf.internal.p310.z2.<init>(Unknown Source) at com.aspose.pdf.internal.p310.z2.<init>(Unknown Source) at com.aspose.pdf.internal.p310.z23.m2(Unknown Source) at com.aspose.pdf.internal.p310.z23.m1(Unknown Source) at com.aspose.pdf.internal.p310.z23.m1(Unknown Source) at com.aspose.pdf.internal.p310.z23.m1(Unknown Source) at com.aspose.pdf.internal.p582.z8.m1(Unknown Source) at com.aspose.pdf.internal.p525.z1.m1(Unknown Source) at com.aspose.pdf.internal.p512.z20.m2(Unknown Source) at com.aspose.pdf.internal.p512.z20.m4(Unknown Source) at com.aspose.pdf.internal.p512.z7.m2(Unknown Source) at com.aspose.pdf.internal.p512.z7.m1(Unknown Source) at com.aspose.pdf.devices.z1.m1(Unknown Source) at com.aspose.pdf.devices.z1.m1(Unknown Source) at com.aspose.pdf.devices.ImageDevice.m1(Unknown Source) at com.aspose.pdf.devices.JpegDevice.processInternal(Unknown Source) at com.aspose.pdf.devices.JpegDevice.process(Unknown Source) at com.atlassian.plugins.conversion.convert.image.ImagingConverter.thumbnailForPdf(Unknown Source) at com.atlassian.plugins.conversion.convert.image.ImagingConverter.generateThumbnailDirect(Unknown Source) at com.atlassian.confluence.plugins.conversion.impl.runnable.JVMConversionRunnable.doWork(JVMConversionRunnable.java:67) at com.atlassian.confluence.plugins.conversion.impl.runnable.ConversionRunnable.run(ConversionRunnable.java:39) at com.atlassian.confluence.plugins.conversion.impl.runnable.JVMConversionRunnable.run(JVMConversionRunnable.java:18) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) {code}
    via by Alice Wang (in MTV),
  • Crashing on Mac OSX
    via GitHub by pinkvenom456
    ,
    • 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.apache.batik.transcoder.image.PNGTranscoder.createImage(PNGTranscoder.java:59) at org.apache.batik.transcoder.image.ImageTranscoder.transcode(ImageTranscoder.java:116) at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(XMLAbstractTranscoder.java:142) at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(SVGAbstractTranscoder.java:156) at com.teja.svg.converter.java.utils.TranscodeUtils.doTranscode(TranscodeUtils.java:58) at com.teja.svg.converter.java.test.TestSVGPNGTranscoder.testTranscode(TestSVGPNGTranscoder.java:26) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:78) at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:212) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:68) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)

    Users with the same issue

    Unknown visitor1 times, last one,