Skip to content

'Too many promises' error when reading a large file #101

@glamperd

Description

@glamperd

RangeError: Too many elements passed to Promise.all
at Function.all ()
at FastFile._triggerLoad (/home/ec2-user/snarkjs/node_modules/fastfile/build/main.cjs:167:17)
at FastFile.readToBuffer (/home/ec2-user/snarkjs/node_modules/fastfile/build/main.cjs:305:14)
at processSectionPower (/home/ec2-user/snarkjs/build/cli.cjs:3069:29)
at async processSection (/home/ec2-user/snarkjs/build/cli.cjs:3044:13)
at async prepareSection (/home/ec2-user/snarkjs/build/cli.cjs:3019:9)
at async Object.powersOfTauPrepareSection [as action] (/home/ec2-user/snarkjs/build/cli.cjs:13428:12)
at async clProcessor (/home/ec2-user/snarkjs/build/cli.cjs:454:27)

Node.js v20.11.1

See also snarkjs issue #435

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions