Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-22434

GDB consumes alot of ram

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 4.9.0
    • Debugger
    • Linux/X11

    Description

      Not sure where to post that. But problem was fixed by disabling "std pretty printers" and "Use debug helpers".

      Problem was that, stepping into:

      template <class Src>
      Src mirrorOnMid(const Src& src)

      { return src; }

      template <class Src>
      Src convertPositionToInternalRep(const Src& src)

      { return mirrorOnMid(src); }

       

      auto tree = iInstanceMapWmoTrees.find(map); if (tree != iInstanceMapWmoTrees.end()) { pos = convertPositionToInternalRep(pos);

       

      last operator - gdb was hanging forever and draining 16GB ram+ then killed by system. I saw similar bug report here: https://bugs.archlinux.org/task/57924

      So, it seems it is qtcreator bug kinda. When those 2 checkboxes are off - it works smooth again.

      Btw, if you ask me, I'm using non-standart allocators, i..e boost ones., see screenshot when all fixed already 

       

       

      Attachments

        Activity

          People

            hjk hjk
            alexzk_ alexzk_
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: