Skip to content

allowDiskUse option #11

@runique

Description

@runique

dear icza:
if select a large table, error may be occured like this:

q.err:Executor error during find command :: caused by :: Sort excee
ded memory limit of 104857600 bytes, but did not opt in to external sorting. Aborting operation. Pass allowDiskUsello
wDiskUse:true to opt in.

after deeply studying, i add the following code after minquery.go:166:
{Name: "allowDiskUse", Value: true}, // added by runique, 20210310
then everything is ok!

so i'd like to suggest you append the line as default option.
thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions