java.lang.OutOfMemoryError

Oracle Community | 1406787 | 1 year ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Byte[] and java.lang.OutOfMemoryError read/write file by bits

    Stack Overflow | 12 months ago | Gowtham
    java.lang.RuntimeException: An error occured while executing doInBackground()

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      No message provided

      at com.lowagie.text.pdf.PdfReader.getStreamBytesRaw()
    2. iText-4.2.1
      PdfCopy.addPage
      1. com.lowagie.text.pdf.PdfReader.getStreamBytesRaw(Unknown Source)
      2. com.lowagie.text.pdf.PdfReader.getStreamBytesRaw(Unknown Source)
      3. com.lowagie.text.pdf.PRStream.toPdf(Unknown Source)
      4. com.lowagie.text.pdf.PdfIndirectObject.writeTo(Unknown Source)
      5. com.lowagie.text.pdf.PdfWriter$PdfBody.add(Unknown Source)
      6. com.lowagie.text.pdf.PdfWriter$PdfBody.add(Unknown Source)
      7. com.lowagie.text.pdf.PdfWriter$PdfBody.add(Unknown Source)
      8. com.lowagie.text.pdf.PdfWriter.addToBody(Unknown Source)
      9. com.lowagie.text.pdf.PdfCopy.copyIndirect(Unknown Source)
      10. com.lowagie.text.pdf.PdfCopy.copyObject(Unknown Source)
      11. com.lowagie.text.pdf.PdfCopy.copyDictionary(Unknown Source)
      12. com.lowagie.text.pdf.PdfCopy.copyObject(Unknown Source)
      13. com.lowagie.text.pdf.PdfCopy.copyDictionary(Unknown Source)
      14. com.lowagie.text.pdf.PdfCopy.copyObject(Unknown Source)
      15. com.lowagie.text.pdf.PdfCopy.copyIndirect(Unknown Source)
      16. com.lowagie.text.pdf.PdfCopy.copyObject(Unknown Source)
      17. com.lowagie.text.pdf.PdfCopy.copyDictionary(Unknown Source)
      18. com.lowagie.text.pdf.PdfCopy.addPage(Unknown Source)
      18 frames
    3. folios.iterators
      FolioLeightonPdfIterator.beginNode
      1. folios.iterators.FolioLeightonPdfIterator.beginNode(FolioLeightonPdfIterator.java:300)
      1 frame
    4. folios
      FolioIterator.iterate
      1. folios.FolioIterator.visitNode(FolioIterator.java:181)
      2. folios.FolioIterator.visitNode(FolioIterator.java:219)
      3. folios.FolioIterator.iterate(FolioIterator.java:75)
      3 frames
    5. folios.renderers
      FolioLeightonPdfRenderer.render
      1. folios.renderers.FolioLeightonPdfRenderer.render(FolioLeightonPdfRenderer.java:50)
      1 frame
    6. folios
      FolioHandler.createRendition
      1. folios.FolioHandler.createRendition(FolioHandler.java:840)
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:615)
      4 frames
    8. intradoc.common
      ClassHelperUtils.executeMethodReportStatus
      1. intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:617)
      2. intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:293)
      2 frames
    9. intradoc.server
      IdcServerThread.run
      1. intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
      2. intradoc.server.Service.doCodeEx(Service.java:490)
      3. intradoc.server.Service.doCode(Service.java:472)
      4. intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1360)
      5. intradoc.server.Service.doAction(Service.java:452)
      6. intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1201)
      7. intradoc.server.Service.doActions(Service.java:447)
      8. intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1121)
      9. intradoc.server.Service.executeActions(Service.java:433)
      10. intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:635)
      11. intradoc.server.Service.doRequest(Service.java:1707)
      12. intradoc.server.ServiceManager.processCommand(ServiceManager.java:359)
      13. intradoc.server.IdcServerThread.run(IdcServerThread.java:197)
      13 frames