kaitai_struct_webide icon indicating copy to clipboard operation
kaitai_struct_webide copied to clipboard

WebIDE eats lots of (some GiB) RAM when a few MiB file is loaded there

Open KOLANICH opened this issue 6 years ago • 1 comments

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.

KOLANICH avatar Aug 26 '17 11:08 KOLANICH

Take a look at #60 as I'm trying to get a similar issue resolved.

julie-bsx avatar Feb 13 '18 20:02 julie-bsx