Uploaded image for project: 'Codehaus Cargo'
  1. CARGO-345

OutOfMemoryError exception occurs when deploying a large amount of data

    Details

    • Type: Improvement
    • Status: Closed (View workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects versions: 0.8
    • Fix versions: 0.9
    • Components: Tomcat
    • Labels:
      None

      Description

      When tries to upload large amount of data then the buffer will became grow larger than heap size and the following message appears "java.lang.OutOfMemoryError: Java heap space".
      The related duscussion topics and listed bugs:
      http://www.velocityreviews.com/forums/t149076-leaking-memory-when-writing-to-url.html
      http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5026745
      http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4212479
      The issue has been fixed in java 1.5 using setChunkedStreamingMode method.

      Patch has been attached.

        Attachments

          Activity

            People

            • Assignee:
              vincentmassol Vincent Massol (Inactive)
              Reporter:
              juriartamonov Juri Artamonov (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: