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.

  • Weblogic Startup Issues
    via by user13099913,
  • Here is the step to reproduce the issue: # Install a fresh Confluence 5.1.3 instance. # Create a new page. # Attach the xls file created with macro. # Add the Excel macro to display the file and also add the value spreadsheet name contain that the macro to the "Worksheet Name" # Try the preview in the macro or save the page. # The macro will load forever and we've got the following error message in the log : {noformat} 2013-09-03 13:09:03,552 ERROR [http-8513-3] [xhtml.view.macro.ViewMacroMarshaller] marshal Error rendering macro: viewxls -- referer: http://mymac:8513/pages/editpage.action?pageId=1507330 | url: /rest/tinymce/1/macro/preview | userName: admin java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2734) at java.util.ArrayList.ensureCapacity(ArrayList.java:167) at java.util.ArrayList.add(ArrayList.java:351) at com.aspose.cells.b.a.a.e.a(Unknown Source) at com.aspose.cells.bG.a(Unknown Source) at com.aspose.cells.bG.a(Unknown Source) at com.aspose.cells.cn.a(Unknown Source) at com.aspose.cells.cn.i(Unknown Source) at com.aspose.cells.cn.b(Unknown Source) at com.aspose.cells.cn.e(Unknown Source) at com.aspose.cells.cn.a(Unknown Source) at com.aspose.cells.cn.a(Unknown Source) at com.aspose.cells.Chart.toImage(Unknown Source) at com.benryan.conversion.SpreadsheetConverter.collectImageObjects(SpreadsheetConverter.java:283) at com.benryan.conversion.SpreadsheetConverter.convert(SpreadsheetConverter.java:85) at com.benryan.conversion.XlsConverter$1.doConversion(XlsConverter.java:47) at com.benryan.conversion.DocConverter.execute(DocConverter.java:61) at com.benryan.conversion.macro.ConverterMacro.execute(ConverterMacro.java:254) at com.benryan.conversion.macro.ViewOfficeFile.execute(ViewOfficeFile.java:75) 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:24) at com.atlassian.confluence.content.render.xhtml.DefaultXhtmlContent.convertMacroDefinitionToView(DefaultXhtmlContent.java:153) at sun.reflect.GeneratedMethodAccessor642.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(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 com.sun.proxy.$Proxy241.convertMacroDefinitionToView(Unknown Source) at sun.reflect.GeneratedMethodAccessor642.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) {noformat} The same issue can be reproduced on Confluence 5.2.3.
    via by Yilin Mo [Atlassian],
  • PDFBox throws OutOfMemory error
    via by Konstantinos Vasileiou,
    • java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2734) at java.util.ArrayList.ensureCapacity(ArrayList.java:167) at java.util.ArrayList.add(ArrayList.java:351) at org.pentaho.di.trans.steps.sort.SortRows.addBuffer(SortRows.java:90) at org.pentaho.di.trans.steps.sort.SortRows.processRow(SortRows.java:374) at org.pentaho.di.trans.step.RunThread.run(RunThread.java:50) at java.lang.Thread.run(Thread.java:662)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    poroszdporoszd
    1 times, last one,
    sriharshakiransriharshakiran
    1 times, last one,
    filpgamefilpgame
    5 times, last one,
    55 more bugmates