pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitriy V. Ryaboy (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (PIG-2918) Avoid Spillable bag overhead where possible
Date Thu, 13 Sep 2012 05:43:08 GMT

     [ https://issues.apache.org/jira/browse/PIG-2918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Dmitriy V. Ryaboy reassigned PIG-2918:

    Assignee: Dmitriy V. Ryaboy
> Avoid Spillable bag overhead where possible
> -------------------------------------------
>                 Key: PIG-2918
>                 URL: https://issues.apache.org/jira/browse/PIG-2918
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Dmitriy V. Ryaboy
>            Assignee: Dmitriy V. Ryaboy
>         Attachments: PIG-2918.patch
> We use BagFactory.newDefaultBag() liberally, and pay a price -- each such bag registers
with the spillable memory manager, and if we allocate a lot of tiny bags, we wind up paying
for maintaining and cleaning up the internal linked list of weak references. 
> In many cases, we know a-priori that the bags are smal, and should probably be creating
non-spillable bags for those cases.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message