[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: QPolygon memory leak
From: Phil Thompson <phil () riverbankcomputing ! com>
Date: 2020-05-07 12:35:57
Message-ID: 39e29673db2740ac87f7b53efc94bedb () riverbankcomputing ! com
[Download RAW message or body]
On 06/05/2020 12:33, Schoof, Tim wrote:
> Hi,
>
> the following script leaks large amounts of memory:
>
> from PyQt5.QtGui import QPolygonF
> from PyQt5.QtCore import QPointF
>
> polygon = QPolygonF()
> polygon.append(QPointF(0, 0))
>
> while True:
> for point in polygon:
> pass
>
> # point = polygon[0] # this leaks as well
>
>
> This happens on Debian 9 and 10, Ubuntu 18.04.2, and in a Python 3.6.9
> venv with PyQt5-sip-12.7.2 and pyqt5-5.14.2 installed from wheels.
>
> The leak also occurs with PyQt4.
Fixed in tonight's snapshot.
Thanks,
Phil
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic