I get the error: Uncaught (in promise) Error: [string "print("Hello, World!")"]:1: attempt to call a nil value (global 'print')
when making more than 45 threads, im guessing its a max memory reached error where I cant assign more threads after that.
heres an example code if you want to try it yourself:
for (let i=0; i<55; i++) { vm.doString(print("Hello, World!")) }
I've been using wasmoon for 2 months in my project though I havent encountered a problem like this. I have two decisions, limit the maximum threads limit to 40 or maybe if theres a better solution I'd pick it.
I get the error: Uncaught (in promise) Error: [string "print("Hello, World!")"]:1: attempt to call a nil value (global 'print')
when making more than 45 threads, im guessing its a max memory reached error where I cant assign more threads after that.
heres an example code if you want to try it yourself:
for (let i=0; i<55; i++) { vm.doString(print("Hello, World!")) }I've been using wasmoon for 2 months in my project though I havent encountered a problem like this. I have two decisions, limit the maximum threads limit to 40 or maybe if theres a better solution I'd pick it.