allocated size as cross-platform