Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MEM_SIZE is too small #19

Open
0xtsukino opened this issue Sep 13, 2021 · 0 comments
Open

MEM_SIZE is too small #19

0xtsukino opened this issue Sep 13, 2021 · 0 comments

Comments

@0xtsukino
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant