Import out of memory error

I’m getting the following error when I try import the products dataset:

vagrant@m103:~$ mongoimport --drop /dataset/products.json --port 26000 -u “m103-admin” -p “m103-pass” --authenticationDatabase “admin” --db m103 --collection products

fatal error: runtime: out of memory

Any ideas on how to fix this? Is this an out of disk memory error an out of memory error?

Please check if it helps

Fatal error: runtime: out of memory in Vagrant doing mongoimport

1 Like