Multi-thread program: Unhandled exception: Cannot allocate new fiber stack: Cannot allocate memory (Errno)

Macbook with 16GB of ram it runs until about 9.2M and after consuming 10GB of Ram (crashes the MacOS).

With and without preview_mt about the same behaviour