You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "asfimport (via GitHub)" <gi...@apache.org> on 2024/11/27 10:19:06 UTC

[I] [Java] reduce heap footprint of ValueVectors [arrow-java]

asfimport opened a new issue, #412:
URL: https://github.com/apache/arrow-java/issues/412

   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.
   
    
   
   **Reporter**: [Pindikura Ravindra](https://issues.apache.org/jira/browse/ARROW-5482) / @pravindra
   #### Related issues:
   - [[Java] remove FieldReader from ValueVector](https://github.com/apache/arrow-java/issues/411) (is a parent of)
   - [[Java] add ValueVector constructors that take a Field object](https://github.com/apache/arrow/issues/21932) (is a parent of)
   
   <sub>**Note**: *This issue was originally created as [ARROW-5482](https://issues.apache.org/jira/browse/ARROW-5482). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*</sub>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org