Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-5482

[Java] reduce heap footprint of ValueVectors

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Java
    • None

    Description

      In some scenarios, we hold lots of value vectors in memory eg. during join, aggregation. The heap analysis shows that the costs are as follows for a simple IntVector (used VisualVM on mac) :

       

      IntVector : 80 bytes

      vector.types.pojo.FieldType : 41 bytes

      vector.types.pojo.Field : 40 bytes

      IntReaderImpl : 28 bytes

       

      I'll use this Jira to track ways to reduce the heap usage.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pravindra Pindikura Ravindra
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: