ls: memory exhausted and Vagrant
When using Vagrant and you attempt to ‘ls’ the directory where you have your project mounted and you receive “ls: memory exhausted”, it is because you are not using NFS and your guest editions are not up to date. This results in the shared folders not working properly.
To fix this, either fix your guest editions, or enable NFS.