Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-40412

QSqlQuery memory usage grows up

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 5.4.0
    • 5.2.0, 5.3.0
    • SQL Support
    • None
    • Windows 7, Ubuntu, PostgreSQL, MySQL, SQLite

    Description

      When using prepared INSERT queries, it seems that QSqlQuery uses more and more memory (until the QSqlQuery::clear() method is called). This start to be annoying when the prepared statement is used for a very big amount of data.

      Please, refer to this forum topic for more information and some test I realised: http://qt-project.org/forums/viewthread/38057/#162755
      You will find here some code I made to make the bug appear.

      Attachments

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

        Activity

          People

            mabrand Mark Brand
            vinorcola Kévin PERAIS
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes