Skip to content

MongoError: aggregation result exceeds maximum document size (16MB) #35

@hungchai

Description

@hungchai

When I run this aggregation with large input, it will throw exception
Here is my code in meteor:

var result = collection.aggregate(pipeline, { 
            allowDiskUse: true });
        return result;

Please help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions