Rename getSizeOf to b2memSizeOf to avoid conflicts.