-
Notifications
You must be signed in to change notification settings - Fork 916
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
memory out of bounds in wechat miniprogram #375
Comments
Can you share the source code that reproduces the problem? |
@saghul Thank you very much for your reply。 i just fetch the quickjs in my repo and run make command: "make quickjs" it can run normally in node environment, but not success in miniprogram dev tools. |
@saghul another command "make duktape" ,it's another js engine and the generated wasm and js files can run normally in miniprogram dev tools. |
Looks like Duktape configures 256MB of memory. It's supposed to be INITIAL_MEMORY. That might be enough to get rid of this one error. There may be other issues. Perhaps you can use this as an example. |
hello, i use emcc build quickjs ,and i want to run code string .but in miniprogram, it emit error:
can you help me find why this error happend?
code part: https://developers.weixin.qq.com/s/f7uv6ymG7FWv
The text was updated successfully, but these errors were encountered: