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

SQL prepare bindValue(int) exec in a loop allocates too much memory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • 5.2.0
    • 4.8.5, 5.0.2, 5.1.0
    • SQL Support
    • None
    • all
    • 8bdf319c28ae7844f8cdbf0af26c8bfc78ea50cc

      Please check the attached code for an example. prepare bindValue(int) and exec is called in a loop it allocates more and more memory without a reason.

        1. main.cpp
          8 kB
        2. qt_leak_test.pro
          0.3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            karimpinter Karim Pinter
            qtcomsupport Qt Support
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes