Use following command to clone default root environment of Anaconda, the root environment is named as base. This worked for me with Anaconda3-5.0.1
conda create --name <env_name> --clone base
The MemoryError indicates that the conda process ran out of memory. Perhaps you need to allocate more swap memory.
MemoryError