-cheerp-linear-heap-size
RuntimeError: memory access out of bounds
can occur if there is not enough heap memory. To increase the heap size, set -cheerp-linear-heap-size=<value>
to a larger value (in MB, default is 8).