Mongo - exception aggregation result exceeds maximum document size 16MB

Problem:

exception: aggregation result exceeds maximum document size (16MB)

Solution:

Configure the aggregation options and set it to return the results as a cursor:

Comments

Popular posts from this blog

spring @async causing BeanCurrentlyInCreationException

Oracle - duplicate fields in RECORD,TABLE or argument list are not permitted