Manage memory for physics scene with triangle meshes