You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copying 500 descriptors in a loop took 25 seconds and consumed 5 Gigabyte memory.
The reason for the memory consumption is that copying the node via xml_utils.copy_element seems to copy each time the whole tree below the node.
The slow speed is caused by
XPath expression is involved
a lot is copied
the computer starts swapping after a certain time.
The whole copy node thing is unusable for use inside sdc11073, esp. in transactions.
Expected Behavior
faster
Minimal Reproducible Example
No response
Solution proposal
change the default copy_node to False. This cures all problems inside sdc11073.
Python Version
all
Operating system
all
Sdc11073 Version
2.0.0a6
Link to sdc11073 Logs
No response
Further Information
No response
Participation
I am willing to submit a pull request to fix this bug.
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current Behavior
Copying 500 descriptors in a loop took 25 seconds and consumed 5 Gigabyte memory.
The reason for the memory consumption is that copying the node via xml_utils.copy_element seems to copy each time the whole tree below the node.
The slow speed is caused by
The whole copy node thing is unusable for use inside sdc11073, esp. in transactions.
Expected Behavior
faster
Minimal Reproducible Example
No response
Solution proposal
change the default copy_node to False. This cures all problems inside sdc11073.
Python Version
all
Operating system
all
Sdc11073 Version
2.0.0a6
Link to sdc11073 Logs
No response
Further Information
No response
Participation
The text was updated successfully, but these errors were encountered: