Html can't use heap size smaller that 256

I make small games, and set heap size to small values.

After update to 1.2.178, i can’t use heap size smaller than 256mb.

I also try new empty project. It not worked with heap size smaller than 256.

I set 128mb and get that error.

Uncaught (in promise) LinkError: WebAssembly.instantiate(): memory import 342 is smaller than initial 4096, got 2048

Is that expected behavior?

This is discussed in this Pull Request:

@JCash, @aglitchman we should be able to accept and merge that PR right?

2 Likes