Exponential memory use for xml parsing using pydantic=>1.9
sjoerdk opened this issue · 1 comments
sjoerdk commented
- 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.
sjoerdk commented
Fixed by latest commit