Details
Description
I noticed a memory leak by subclassing QtCore.QAbstractTableModel, and using it in a
QtWidgets.QTableView. The memory usage increases slowly when scrolling left/right and top/bottom. The memory usage increases more rapidly when resizing the window also.
The memory usage never comes back the initial usage even after closing the window.
PySide 1 also have the same bug. I attached tableview.py (PySide) and tableview2.py (PySide2) source.