Copying an object requires a large amount of memory when there are many versions, languages and attributes. This is presumably because the large amount of object attribute rows are all loaded into memory. The operation should be optimized, if at all possible.
- Set memory limit to 256 MB
- Make a content object with ca. 30 versions, 10 languages and 20 attributes
- Copy the object
- PHP runs out of memory