Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-3026

clear expired property that may cause GC problem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.1
    • data-load
    • None

    Description

      During data loading, we will write some temp files (sort temp
      files and temp fact data files) in some locations. In currently
      implementation, we will add the locations to the CarbonProperties and
      associated it with a special key that refers to the data loading.

      After data loading, the temp locations are cleared, but the added
      property is still remain in the CarbonProperties and never to be cleared.

      This will cause the CarbonProperties object growing bigger and bigger
      and lead to OOM problems if the thrift-server is a long time running
      service. A local test shows that after adding different properties for
      11 Billion times, the OOM happens.

      Attachments

        Issue Links

          Activity

            People

              xuchuanyin Chuanyin Xu
              xuchuanyin Chuanyin Xu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 40m
                  2h 40m