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

lconvert uses huge amounts of RAM

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.15.0, 5.15.1
    • Fix Version/s: None
    • Component/s: Tools: Linguist
    • Labels:
      None
    • Environment:
      High consumption: Seen on Win10 and Linux x64.
      Out of memory: on Linux i586.
    • Commits:
      263b29eedb223dec1ecaee193302070af87a1852 (qt/qtbase/dev) 6485b6d45ad165cf976138cf8ab683c42515e794 (qt/qtbase/5.15)

      Description

      Since Qt5.15, lconvert uses several gigabytes of memory to translate an (admittedly large) file of about 15.000 string entries. The .po files are about 2.5MB, translated .qm about 1MB, nothing which I consider scary. In between, a single lconvert process was reported to use 2.5GB of RAM. Now translate on 4 or more cores...

      This new behaviour suddenly causes slow (allocation to virtual memory on 8/12GB PCs!) or even failed builds (out of memory) on CI systems.

      https://github.com/Stellarium/stellarium/issues/1131

      https://github.com/Stellarium/stellarium/issues/1291

      Are there any hidden limits for the tools?

        Attachments

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

          Activity

            People

            Assignee:
            kkohne Kai Köhne
            Reporter:
            gzotti Georg Zotti
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes