java.lang.OutOfMemoryError: Java heap space

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Atlassian JIRA by Renato Rudnicki, 1 year ago
Java heap space
java.lang.OutOfMemoryError: Java heap space
at sun.util.calendar.JulianCalendar.newCalendarDate(JulianCalendar.java:142)
at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:2348)
at java.util.GregorianCalendar.computeTime(GregorianCalendar.java:2753)
at java.util.Calendar.updateTime(Calendar.java:2606)
at java.util.Calendar.getTimeInMillis(Calendar.java:1118)
at java.util.Calendar.getTime(Calendar.java:1091)
at org.jfree.data.time.Year.getFirstMillisecond(Year.java:241)
at org.jfree.data.time.Year.peg(Year.java:180)
at org.jfree.data.time.Year.(Year.java:131)
at org.jfree.data.time.Year.(Year.java:118)
at org.jfree.chart.axis.DateAxis.refreshTicksHorizontal(DateAxis.java:1491)
at org.jfree.chart.axis.DateAxis.refreshTicks(DateAxis.java:1395)
at org.jfree.chart.axis.ValueAxis.reserveSpace(ValueAxis.java:768)
at org.jfree.chart.plot.CategoryPlot.calculateRangeAxisSpace(CategoryPlot.java:2252)
at org.jfree.chart.plot.CategoryPlot.calculateAxisSpace(CategoryPlot.java:2272)
at org.jfree.chart.plot.CategoryPlot.draw(CategoryPlot.java:2319)
at org.jfree.chart.JFreeChart.draw(JFreeChart.java:1039)
at org.jfree.chart.JFreeChart.createBufferedImage(JFreeChart.java:1213)
at org.jfree.chart.JFreeChart.createBufferedImage(JFreeChart.java:1193)
at com.atlassian.confluence.extra.chart.ChartMacro.getChartImage(ChartMacro.java:418)
at com.atlassian.confluence.extra.chart.ChartMacro.execute(ChartMacro.java:321)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.atlassian.confluence.macro.xhtml.XhtmlMacroManager$ResourceAwareMacroInvocationHandler.invoke(XhtmlMacroManager.java:229)
at com.sun.proxy.$Proxy2756.execute(Unknown Source)
at com.atlassian.confluence.content.render.xhtml.view.macro.ViewMacroMarshaller.marshalInternal(ViewMacroMarshaller.java:141)
at com.atlassian.confluence.content.render.xhtml.view.macro.ViewMacroMarshaller.marshal(ViewMacroMarshaller.java:88)
at com.atlassian.confluence.content.render.xhtml.view.macro.ViewMacroMarshaller.marshal(ViewMacroMarshaller.java:36)
at com.atlassian.confluence.content.render.xhtml.UnmarshalMarshalFragmentTransformer.transform(UnmarshalMarshalFragmentTransformer.java:33)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.