You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Taewoo Kim (JIRA)" <ji...@apache.org> on 2016/12/06 07:25:58 UTC

[jira] [Created] (ASTERIXDB-1746) Excessive new byte[] array constructions during record writes using RecordBuilder.write()

Taewoo Kim created ASTERIXDB-1746:
-------------------------------------

             Summary: Excessive new byte[] array constructions during record writes using RecordBuilder.write()
                 Key: ASTERIXDB-1746
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1746
             Project: Apache AsterixDB
          Issue Type: Bug
            Reporter: Taewoo Kim
            Assignee: Taewoo Kim


During a record write using RecordBuilder.write(), it allocates two new byte[] using toByteArray() method. The consequence of this is allocating a lot of new byte[] array, thus may lead an excessive garbage collection. It can be replaced as getByteArray() method. The fix will be soon uploaded.



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