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

[REG: 5.6->5.9]: constructing big JavaScript objects consume huge amounts of memory

    XMLWordPrintable

Details

    • 19b87999580d596a3b14e38f44309f16307bfe0e (qt/qtdeclarative/5.12.0)

    Description

      Something like:

      var dictionaryTable = {};
      for (var j = 0; j < 646900; ++j) {
          var word = "a" + j.toString()
          dictionaryTable[word] = null;
      }
       

      works fine with Qt 5.6, but on 5.9 and newer it consumes all memory (16GB) in sudden spikes. Moreover, it has a serious performance degradation compared to 5.6.

      Attachments

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

        Activity

          People

            ulherman Ulf Hermann
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes