8000 MEM_SIZE is too small · Issue #19 · iden3/ffjavascript · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
MEM_SIZE is too small #19
Open
Open
@0xtsukino

Description

@0xtsukino

When using with circomlib@0.5.3, i got the following error. Manually changing MEM_SIZE from 25 to 1000 fixes the issue.

Uncaught (in promise) LinkError: WebAssembly.instantiate(): memory import 0 is smaller than initial 1000, got 25
    at buildThreadManager (main.cjs:4935)
    at async buildEngine (main.cjs:6276)
    at async Object.buildBn128 (main.cjs:6348)
    at async getCurveFromQ (main.cjs:33)
    at async readHeaderGroth16 (main.cjs:341)
    at async readHeader (main.cjs:314)
    at async groth16Prove (main.cjs:744)
    at async Object.groth16FullProve [as fullProve] (main.cjs:1144)

I am running on:

  • MBP Big Sur
  • Brave 1.29.76 Chromium: 93.0.4577.58 (Official Build) (x86_64)
  • Node 14.17.6
  • npm 6.14.15

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

      0