On 2 GiB RAM system it causes browser and GUI going unresponsive because of swapping.
Even if it is the result of a loop, I guess we need something to prevent this. For example webide can have some fields to limit amount of ram and stop parsing when the limit is hit.
P.S. python-compiled version works OK on that file.
Try https://github.com/kaitai-io/kaitai_struct_formats/blob/master/scientific/nt_mdt/nt_mdt.ksy with http://www.ntmdt-si.ru/data/media/files/scangallery/graphene_and_carbon_materials/graphene_2.mdt
On 2 GiB RAM system it causes browser and GUI going unresponsive because of swapping. Even if it is the result of a loop, I guess we need something to prevent this. For example webide can have some fields to limit amount of ram and stop parsing when the limit is hit.
P.S. python-compiled version works OK on that file.