Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-16759

Wrangler Row API encourages bad memory usage

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 6.2.1, 6.3.0, 6.1.3
    • Component/s: Data Prep
    • Labels:
      None
    • Rank:
      1|i00wyv:

      Description

      The Row class contains a List<String> of columns. In most situations, the column list is always the same thing, but there are many Row constructors that will create a separate List for each Row instance. This will easily bloat the memory usage.

      We need to go through each usage of the class and make sure directives and handlers aren't needlessly creating millions of duplicate objects.

        Attachments

          Activity

            People

            • Assignee:
              trishka Trishka
              Reporter:
              ashau Albert Shau
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: