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 23:39:58 UTC
[jira] [Closed] (ASTERIXDB-1746) Excessive new byte[] array
constructions during record writes using RecordBuilder.write()
[ https://issues.apache.org/jira/browse/ASTERIXDB-1746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Taewoo Kim closed ASTERIXDB-1746.
---------------------------------
Resolution: Fixed
> 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)