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

lconvert uses huge amounts of RAM

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • 5.15.0, 5.15.1
    • Tools: Linguist
    • None
    • High consumption: Seen on Win10 and Linux x64.
      Out of memory: on Linux i586.
    • 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

        For Gerrit Dashboard: QTBUG-87010
        # Subject Branch Project Status CR V

        Activity

          People

            kkohne Kai Köhne
            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