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)