Skip to content

Conversation

@lucasfcnunes
Copy link

Solves RecursionErrors exceptions/crashes caused by bloated memory use or high recursion depth when calling deepupdate().
*The same issues can occur on copy.deepcopy() calls.

Solves RecursionErrors exceptions/crashes caused by bloated memory use or high recursion depth when calling deepupdate(). *The same issues can occur on copy.deepcopy() calls.
@lafrech
Copy link
Member

lafrech commented Jan 12, 2021

Do you have a real life use case where the update process significantly eats up the memory to a point where the app crashes?

Or is this more of a theoretical issue?

@lucasfcnunes
Copy link
Author

oh, i did.
at the time of this commit i was actually facing this issue

i was recursively building an api spec using a web scraping engine
i tried running it on a new async thread to tweak the python stack parameters, but i ended up having real seg faults/core dumps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants