Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-14333

jiraSoapService.addAttachmentsToIssue work only with small files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Medium
    • None
    • 3.11
    • None
    • windows XP professional
      java version "1.5.0-rc"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-rc-b63)
      Java HotSpot(TM) Client VM (build 1.5.0-rc-b63, mixed mode, sharing)

    Description

      I'm using jira soap client to create issues on jira

      when i try to attach a small file(40K) to an issue it suceed but takes long time

      but when I try to attach a bigger file (300K) it gives

      java.lang.OutOfMemoryError: Java heap space

      whaen i tried to put this code in jar and use it from Eclipse RCP Application it attach the 40K file in about 20 minutes

      Attachments

        1. IssueCreatorConfig.java
          3 kB
        2. IssueCreatorFacade.java
          10 kB
        3. TestIssueCreatorFacade.java
          2 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              8f958dc27d33 Amgad Hanafy
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: