java.lang.OutOfMemoryError: Java heap space

Atlassian JIRA | Jeff Kirby | 7 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Using the viewfile macro with a large Excel document (>50 MB for .xls, >10 MB for .xlsx) produces the following error: {code:none} 2010-08-25 10:28:36,215 ERROR [http-8080-3] [renderer.v2.components.MacroRendererComponent] processMacro Unexpected error formatting macro: viewfile -- url: /pages/worddav/preview.action | page: 426003 | userName: admin | referer: http://localhost:8080/pages/viewpageattachments.action?pageId=426003&sortBy=date&highlight=Infra_VM_IP_BW.xls& | action: preview java.lang.OutOfMemoryError: Java heap space at com.jxcell.EB.I(EYFN) at com.jxcell.H.I(EYFN) at com.jxcell.Book.read(EYFN) at com.jxcell.Book.read(EYFN) at com.jxcell.View.read(EYFN) at com.benryan.conversion.SpreadsheetConverter.convert(SpreadsheetConverter.java:350) at com.benryan.conversion.XlsConverter$1.doConversion(XlsConverter.java:42) at com.benryan.conversion.DocConverter.execute(DocConverter.java:59) at com.benryan.conversion.macro.ConverterMacro.execute(ConverterMacro.java:276) at com.atlassian.renderer.v2.macro.ResourceAwareMacroDecorator.execute(ResourceAwareMacroDecorator.java:51) at com.atlassian.renderer.v2.components.MacroRendererComponent.executeMacro(MacroRendererComponent.java:203) at com.atlassian.renderer.v2.components.MacroRendererComponent.processMacro(MacroRendererComponent.java:169) at com.atlassian.renderer.v2.components.MacroRendererComponent.makeMacro(MacroRendererComponent.java:67) at com.atlassian.renderer.v2.components.WikiContentRendererHandler.handleMacro(WikiContentRendererHandler.java:18) at com.atlassian.renderer.v2.WikiMarkupParser.makeMacro(WikiMarkupParser.java:120) at com.atlassian.renderer.v2.WikiMarkupParser.handlePotentialMacro(WikiMarkupParser.java:105) at com.atlassian.renderer.v2.WikiMarkupParser.parse(WikiMarkupParser.java:60) at com.atlassian.renderer.v2.components.MacroRendererComponent.render(MacroRendererComponent.java:46) at com.atlassian.renderer.v2.V2Renderer.render(V2Renderer.java:53) at com.atlassian.renderer.v2.plugin.PluggableV2Renderer.render(PluggableV2Renderer.java:30) at com.atlassian.renderer.v2.V2RendererFacade.convertWikiToXHtml(V2RendererFacade.java:57) at sun.reflect.GeneratedMethodAccessor370.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:16) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) {code} Verified in Confluence 3.3.1 with Office Connector 1.12

    Atlassian JIRA | 7 years ago | Jeff Kirby
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    Using the viewfile macro with a large Excel document (>50 MB for .xls, >10 MB for .xlsx) produces the following error: {code:none} 2010-08-25 10:28:36,215 ERROR [http-8080-3] [renderer.v2.components.MacroRendererComponent] processMacro Unexpected error formatting macro: viewfile -- url: /pages/worddav/preview.action | page: 426003 | userName: admin | referer: http://localhost:8080/pages/viewpageattachments.action?pageId=426003&sortBy=date&highlight=Infra_VM_IP_BW.xls& | action: preview java.lang.OutOfMemoryError: Java heap space at com.jxcell.EB.I(EYFN) at com.jxcell.H.I(EYFN) at com.jxcell.Book.read(EYFN) at com.jxcell.Book.read(EYFN) at com.jxcell.View.read(EYFN) at com.benryan.conversion.SpreadsheetConverter.convert(SpreadsheetConverter.java:350) at com.benryan.conversion.XlsConverter$1.doConversion(XlsConverter.java:42) at com.benryan.conversion.DocConverter.execute(DocConverter.java:59) at com.benryan.conversion.macro.ConverterMacro.execute(ConverterMacro.java:276) at com.atlassian.renderer.v2.macro.ResourceAwareMacroDecorator.execute(ResourceAwareMacroDecorator.java:51) at com.atlassian.renderer.v2.components.MacroRendererComponent.executeMacro(MacroRendererComponent.java:203) at com.atlassian.renderer.v2.components.MacroRendererComponent.processMacro(MacroRendererComponent.java:169) at com.atlassian.renderer.v2.components.MacroRendererComponent.makeMacro(MacroRendererComponent.java:67) at com.atlassian.renderer.v2.components.WikiContentRendererHandler.handleMacro(WikiContentRendererHandler.java:18) at com.atlassian.renderer.v2.WikiMarkupParser.makeMacro(WikiMarkupParser.java:120) at com.atlassian.renderer.v2.WikiMarkupParser.handlePotentialMacro(WikiMarkupParser.java:105) at com.atlassian.renderer.v2.WikiMarkupParser.parse(WikiMarkupParser.java:60) at com.atlassian.renderer.v2.components.MacroRendererComponent.render(MacroRendererComponent.java:46) at com.atlassian.renderer.v2.V2Renderer.render(V2Renderer.java:53) at com.atlassian.renderer.v2.plugin.PluggableV2Renderer.render(PluggableV2Renderer.java:30) at com.atlassian.renderer.v2.V2RendererFacade.convertWikiToXHtml(V2RendererFacade.java:57) at sun.reflect.GeneratedMethodAccessor370.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:16) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) {code} Verified in Confluence 3.3.1 with Office Connector 1.12

    Atlassian JIRA | 7 years ago | Jeff Kirby
    java.lang.OutOfMemoryError: Java heap space

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Java heap space

      at com.jxcell.EB.I()
    2. com.jxcell
      View.read
      1. com.jxcell.EB.I(EYFN)
      2. com.jxcell.H.I(EYFN)
      3. com.jxcell.Book.read(EYFN)
      4. com.jxcell.Book.read(EYFN)
      5. com.jxcell.View.read(EYFN)
      5 frames
    3. com.benryan.conversion
      ConverterMacro.execute
      1. com.benryan.conversion.SpreadsheetConverter.convert(SpreadsheetConverter.java:350)
      2. com.benryan.conversion.XlsConverter$1.doConversion(XlsConverter.java:42)
      3. com.benryan.conversion.DocConverter.execute(DocConverter.java:59)
      4. com.benryan.conversion.macro.ConverterMacro.execute(ConverterMacro.java:276)
      4 frames
    4. com.atlassian.renderer
      V2RendererFacade.convertWikiToXHtml
      1. com.atlassian.renderer.v2.macro.ResourceAwareMacroDecorator.execute(ResourceAwareMacroDecorator.java:51)
      2. com.atlassian.renderer.v2.components.MacroRendererComponent.executeMacro(MacroRendererComponent.java:203)
      3. com.atlassian.renderer.v2.components.MacroRendererComponent.processMacro(MacroRendererComponent.java:169)
      4. com.atlassian.renderer.v2.components.MacroRendererComponent.makeMacro(MacroRendererComponent.java:67)
      5. com.atlassian.renderer.v2.components.WikiContentRendererHandler.handleMacro(WikiContentRendererHandler.java:18)
      6. com.atlassian.renderer.v2.WikiMarkupParser.makeMacro(WikiMarkupParser.java:120)
      7. com.atlassian.renderer.v2.WikiMarkupParser.handlePotentialMacro(WikiMarkupParser.java:105)
      8. com.atlassian.renderer.v2.WikiMarkupParser.parse(WikiMarkupParser.java:60)
      9. com.atlassian.renderer.v2.components.MacroRendererComponent.render(MacroRendererComponent.java:46)
      10. com.atlassian.renderer.v2.V2Renderer.render(V2Renderer.java:53)
      11. com.atlassian.renderer.v2.plugin.PluggableV2Renderer.render(PluggableV2Renderer.java:30)
      12. com.atlassian.renderer.v2.V2RendererFacade.convertWikiToXHtml(V2RendererFacade.java:57)
      12 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor370.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:592)
      3 frames
    6. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      3 frames
    7. com.atlassian.spring
      SpringProfilingInterceptor.invoke
      1. com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:16)
      1 frame
    8. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      1 frame
    9. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
      1 frame
    10. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames