It seems, the crashes were caused by a bug unrelated to out-of-memory issue, so we have two different problems here.
To reproduce the crashes:
1. Unpack a fresh FSLMQXOS_4_1_2_Vybrid.exe
2. Open httpsrv_svf522revb_a5.eww
3. Build, start
4. Open the "polling example" page in the browser
5. See how it runs with no problem
6. Make the following change in poll.html: setTimeout("loop()", 1000 50)
7. Run mktfs.bat, build, start
8. Open the "polling example" page in the browser (refresh the frame to insure it's not cached one-second version)
9. Observe an MQX_UNHANDLED_INTERRUPT in TCP/IP task error code or the crash
(might be related to this)