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

QNetworkProxy::HttpProxy eat memory on PUT

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 4.8.3
    • Network: Proxies
    • None
    • Windows 7 x64

    Description

      I noticed that sending a big file with :

      QNetworkReply *QNetworkAccessManager::put(const QNetworkRequest &request, QIODevice *data)

      eat a lot of memory increasingly during upload (very noticeable on big files) and does not free it after.

      Attached a sample project. Just :

      • Fill an URL where to PUT the file (no need to have an http server really accepting the PUT command to notice the bug)
      • Check proxy group and fill hostname and port (the one per default is valid as time of writing)
      • Click on "upload" button to choose a big file (quickly done, avoid file where size > 2^32 bytes if you want to see progress bar, few hundreds megabytes file is quite enough)
      • Notice the RAM consumption in Windows task manager

      If you do a similar upload without the proxy, memory stay stable.

      Attachments

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

        Activity

          People

            shkearns Shane Kearns
            fchantret Florent
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes