I’m trying to perform a large migration of data using a meteor app. When I run it locally, I get the following error:
MongoError: can’t map file memory - mongo requires 64 bit build for larger datasets
Does that mean:
- The local mongo instance is our of memory
- The app itself is out of memory
- Something else
It’s fine if it’s a local testing issue. I’m just scared that when I go to run this on the production database that it’s going to explode mid-migration. (the production DB is hosted at compose.io)
Also note that the migration code fetches documents in small groups using skip and limit to avoid dumping the whole DB into my app’s memory.