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

Hibernate - HibernateException: createQuery is not valid without active transaction