I am trying to parse xbrl file (1.35Gb) via arelle. During debug I spot that execution holds on line ModelDocument.py:157. It holds more than 30 minutes. Python process take about 8Gb RAM and slowly increases memory consuming:
It looks like python parses xml with 20-50Kb/s speed which is extremelly slow. Especially if we take into account that python have C
optimization code. Note also that I got 1 core loaded 100% so CPU does some heavy work (but what exactly?)
Any ideas how xbrl parsing can be speeded up?
System: Windows 10, Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05)