Exponential memory use for xml parsing using pydantic=>1.9
sjoerdk opened this issue · comments
- dicomtrolley version:1.2.0
- Python version: 3.7
Description
Calling parse_mint_studies_response
(https://github.com/sjoerdk/dicomtrolley/blob/master/dicomtrolley/mint.py#L300) on a normal sized mint response will take exponential time and memory.
This is only the case when pydantic 1.9 is used. for 1.8 there is no issue.
Fixed by latest commit