DEV Community

Discussion on: January 6th, 2022: What did you learn this week?

Collapse
 
mistval profile image
Randall

I learned that each stage in a MongoDB aggregation pipeline can use a maximum of 100 MB RAM and will error if it needs more. There is an allowDiskUse option you can enable to make it use temporary files on disk to exceed that limit. Though optimizing the pipeline is a better solution when possible!

Collapse
 
nickytonline profile image
Nick Taylor

Processing data via an animated gif