[PD] osx memory allocation