+ 3

Memory leak in python?

Is it possible to create a true memory leak in python ? and how would you troubleshoot it?

5th Jan 2018, 1:46 PM
ifl
ifl - avatar
3 Answers
+ 2
Google "Muppy Python"
7th Jan 2018, 1:31 AM
: )
: ) - avatar
+ 2
Yes it is possible. If its a complex program that involves numerous functions called, events and loops which could potentially create cyclic references and sometimes it could be an incompatible external library. Take note of the versions. Troubleshooting memory leaks is also possible but mostly hectic, especially when trying to identify and isolate leaking objects. Lucky enough there are some tools developed by individuals (geniuses) that can help with making the process less hectic. 😅Though it doesnt get any smoother remapping the code to fix the leaks
6th Jan 2024, 8:48 PM
Izaiah Kay
Izaiah Kay - avatar
0
thanks.
20th May 2018, 5:32 PM
ifl
ifl - avatar