Open xiaxinmeng opened 1 year ago
Under Go I get quite a clean
fatal error: runtime: out of memory
Then a backtrace.
I think this is just gpython running out of memory because you asked it for a 2^32 entry list and not a particularly interesting bug. The gopher.js and the wasm behaviour are interesting but I don't think that is a gpython problem.
The following example takes large arguments and then crashes gpython.
test.py
Output on go/wasm(https://gpython.org/?wasm):
output with gopherjs(https://gpython.org/):