Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-140

QImage constructor never frees his memory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 5.11.3
    • 1.1.2, 1.2.2
    • PySide
    • b8201a3ad2e778ed58cb285369055dc4d0d450bd

    Description

      QImage(data,size1,size2,format) contructor seem to occupy memory, but put in combination wil PIL.Image.tostring() this memory is never freed.

      I put the constructor in a loop and found the following:
      if data is always the same, there is no increase in memory, if data != data(t+1), then it increases really fast.

      Please take a look at the code in attachement, containing these situations, and all the code needed to reproduce the bug (reproduced on 2 different computers).

      ps: I posted the issue on stackoverflow, here: http://stackoverflow.com/questions/14716850/pil-to-qimage-conversion-qimage-constructor-does-not-free-memory

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            lokinou Loic bot
            Votes:
            8 Vote for this issue
            Watchers:
            14 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes