Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved TextArea memory leak - QML

    QML and Qt Quick
    2
    2
    152
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Mohammadsm
      Mohammadsm last edited by

      Hi
      Recently, I realized that the used memory by a qml application, will increase by inputting text to a TextArea component(which is logical).
      But it won't come down by removing TextArea characters! I tried TextArea.clear(), but the used memory will not change.
      I even tried TextArea.destroy(), the component will disappear visually, but memory size is still as high as it was before TextArea deletion!

      It makes OS hang after a long type & clear.

      How should I manage the memory with TextArea?

      1 Reply Last reply Reply Quote 0
      • S
        shaan7 last edited by

        Hey @Mohammadsm I recently saw this same problem and was very surprised. Did you eventually find something about this?

        1 Reply Last reply Reply Quote 0
        • First post
          Last post