You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Yingyi Bu (JIRA)" <ji...@apache.org> on 2016/10/04 17:04:22 UTC

[jira] [Commented] (ASTERIXDB-1673) ARecordCaster potential object creation problem

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

Yingyi Bu commented on ASTERIXDB-1673:
--------------------------------------

Wail, why do you need to loadRequiredType many times?

Typically, you have one required type for casting?

> ARecordCaster potential object creation problem
> -----------------------------------------------
>
>                 Key: ASTERIXDB-1673
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1673
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: AsterixDB, Data Model
>            Reporter: Wail Alkowaileet
>            Assignee: Wail Alkowaileet
>            Priority: Trivial
>
> I use ACastVIsitor extensively in my work and I found that on loadRequiredType:
> The allocator will keep allocating Pointables (for typetag and fieldNames) which would never be cleared.
> I ran an experiment and got more than 6 million objects on a dataset of size 1.5GB.



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