Uploaded image for project: 'Xporter for Jira'
  1. Xporter for Jira
  2. XPORTER-1269

Single export object is taking up ~5.4 GB of total heap memory

    XporterXMLWordPrintable

Details

    • R5.6.0 Sprint 1
    • UNCOVERED

    Description

      Hi Team,

      Yesterday JIRA Instance was down, I had raised incident with Atlassian support.

      The Atlassian support team did the investigation and they come up issue related to Xporter plugin.

      The single export object is taking up ~5.4 GB of the heap memory of 8GB  total and we kept Maximum number of issues allowed to export at one time is 1000.

      Please help us to resolve the above issue ASAP.

       

       

      Below are Atlassian investigation results:

      There is one single object, an user request, taking up ~5.4 GB of thr total heap:

      This is an export of issues using the "Xporter" plugin, by Xpand:

      
      http-nio-80-exec-105 uri:/secure/views/bulkedit/BulkExportDetails.jspa username:kb250179 at java.lang.StringCoding$StringDecoder.decode([BII)[C (StringCoding.java:149) ... at org.apache.lucene.store.DataInput.readString()Ljava/lang/String; (DataInput.java:182) at org.apache.lucene.index.FieldsReader.addField(Lorg/apache/lucene/document/Document;Lorg/apache/lucene/index/FieldInfo;ZZZI)V (FieldsReader.java:431) at org.apache.lucene.index.FieldsReader.doc(ILorg/apache/lucene/document/FieldSelector;)Lorg/apache/lucene/document/Document; (FieldsReader.java:261) at org.apache.lucene.index.SegmentReader.document(ILorg/apache/lucene/document/FieldSelector;)Lorg/apache/lucene/document/Document; (SegmentReader.java:471) at org.apache.lucene.index.DirectoryReader.document(ILorg/apache/lucene/document/FieldSelector;)Lorg/apache/lucene/document/Document; (DirectoryReader.java:564) at org.apache.lucene.index.IndexReader.document(I)Lorg/apache/lucene/document/Document; (IndexReader.java:844) at org.apache.lucene.search.IndexSearcher.doc(I)Lorg/apache/lucene/document/Document; (IndexSearcher.java:242) at com.atlassian.jira.index.DelegateSearcher.doc(I)Lorg/apache/lucene/document/Document; (DelegateSearcher.java:82) at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.search(Lcom/atlassian/query/Query;Lcom/atlassian/jira/user/ApplicationUser;Lcom/atlassian/jira/web/bean/PagerFilter;Lorg/apache/lucene/search/Query;Z)Lcom/atlassian/jira/issue/search/SearchResults; (LuceneSearchProvider.java:290) ... at com.atlassian.jira.issue.search.providers.DualSearchProvider.performSearch(Lcom/atlassian/jira/issue/search/providers/DualSearchProvider$SearchSupplier;Lcom/atlassian/query/Query;Lcom/atlassian/jira/user/ApplicationUser;Z)Lcom/atlassian/jira/issue/search/SearchResults; (DualSearchProvider.java:140) at com.atlassian.jira.issue.search.providers.DualSearchProvider.search(Lcom/atlassian/query/Query;Lcom/atlassian/jira/user/ApplicationUser;Lcom/atlassian/jira/web/bean/PagerFilter;)Lcom/atlassian/jira/issue/search/SearchResults; (DualSearchProvider.java:78) at com.atlassian.jira.bc.issue.search.DefaultSearchService.search(Lcom/atlassian/jira/user/ApplicationUser;Lcom/atlassian/query/Query;Lcom/atlassian/jira/web/bean/PagerFilter;)Lcom/atlassian/jira/issue/search/SearchResults; (DefaultSearchService.java:111) ... at java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (Method.java:498) ... at com.sun.proxy.$Proxy349.search(Lcom/atlassian/jira/user/ApplicationUser;Lcom/atlassian/query/Query;Lcom/atlassian/jira/web/bean/PagerFilter;)Lcom/atlassian/jira/issue/search/SearchResults; (Unknown Source) at com.xpandit.jiraxporter.action.BulkExport.getSelectedCount()I (BulkExport.java:513) at com.xpandit.jiraxporter.action.BulkExport.getSelectedIssuesNumberBelowLimit()Z (BulkExport.java:567)
      
      

       

       

      Attachments

        1. atlassian-jira.log
          1.32 MB
          Ramakrishna Anumalla
        2. atlassian-jira.log
          7.89 MB
          Ramakrishna Anumalla
        3. CPU100.png
          183 kB
          Ramakrishna Anumalla
        4. heap_overview.png
          27 kB
          Ramakrishna Anumalla
        5. IssueDetailsExcel.xlsx
          21 kB
          Ramakrishna Anumalla
        6. thread_dumps16_May_07.txt
          28.63 MB
          Ramakrishna Anumalla

        Activity

          People

            rmbr Rui Rodrigues
            ra185165@ncr.com Ramakrishna Anumalla
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: