phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop Sam John (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-1280) ColumnProjectionFilter makes too many ImmutableBytesPtrs
Date Tue, 23 Sep 2014 05:21:33 GMT

    [ https://issues.apache.org/jira/browse/PHOENIX-1280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14144366#comment-14144366
] 

Anoop Sam John commented on PHOENIX-1280:
-----------------------------------------

Else there can be single ImmutableBytesPtr  object and can use set(final byte [] b, final
int offset, final int length) to reset the bytes. What abt that?

> ColumnProjectionFilter makes too many ImmutableBytesPtrs
> --------------------------------------------------------
>
>                 Key: PHOENIX-1280
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1280
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>            Assignee: Anoop Sam John
>
> While tracing through allocated objects during some queries I find that many ImmutableBytesPtr
objects are created. One offender is ColumnProjectionFilter which first creates the columns
to be projected and then while scanning make a new ImmutableBytesPtr for each single column
that passes through the filter.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message