log allocation of conversionBuf

This commit is contained in:
Xavier Léauté 2014-08-20 12:41:47 -07:00
parent fe105d52ee
commit 8933685884
1 changed files with 3 additions and 1 deletions

View File

@ -1404,7 +1404,9 @@ public class IndexMaker
)
{
this.dimSet = dimSet;
this.conversionBuf = ByteBuffer.allocateDirect(dimSet.size() * Ints.BYTES).asIntBuffer();
final int bufferSize = dimSet.size() * Ints.BYTES;
log.info("Allocating new dimension conversion buffer of size[%,d]", bufferSize);
this.conversionBuf = ByteBuffer.allocateDirect(bufferSize).asIntBuffer();
this.currIndex = 0;
}