supress NullPointerException when mappedByteSize=0