Skip to content Skip to sidebar Skip to footer
Showing posts with the label Garbage Collection

Overriding Destructors Without Calling Their Parents

I'm writing a class that inherits from some library. In said class I'm overriding the destr… Read more Overriding Destructors Without Calling Their Parents

What Can Cause A Memory Leak In Python?

Possible Duplicate: Python: Is it possible to have an actual memory leak in Python because of your … Read more What Can Cause A Memory Leak In Python?

Is Explicitly Closing Files Important?

In Python, if you either open a file without calling close(), or close the file but not using try-f… Read more Is Explicitly Closing Files Important?

Memory Leak When Using Strings < 128kb In Python?

Original title: Memory leak opening files Solution 1: You might simply hit the default behaviour o… Read more Memory Leak When Using Strings < 128kb In Python?

Does Pyqt4 Signal.connect Keep Objects Live?

If I have a signal and I register an objects function to the signal will this keep the object live … Read more Does Pyqt4 Signal.connect Keep Objects Live?

Memory Leak In Python Twisted: Where Is It?

I have a Twisted server under load. When the server is under load, memory usage increases, and it i… Read more Memory Leak In Python Twisted: Where Is It?