[jira] [Created] (ARROW-5057) Java: allocate new buffer code doesn't release extra allocated buffer properly
Hitesh Khamesra created ARROW-5057: -- Summary: Java: allocate new buffer code doesn't release extra allocated buffer properly Key: ARROW-5057 URL: https://issues.apache.org/jira/browse/ARROW-5057
Java allocate buffer code
Hi All: I was looking following code to release extra allocated buffer. It seems it should be considering actualCount as "valueCount*typeWidth". Then it should calculate extra buffer and release it. Right now, it calculates based on actually allocated size and not justifying the intend. Any