Manually creating a backport issue for #64856 as there were previously closed backport issues (#64868).

This causes build failure or runtime failure for large Wasm programs, and there is no workaround. Thanks.

Comment From: cherrymui

Let's wait for a month after 1.25 is out.