Important: Please read the Qt Code of Conduct -

TextArea memory leak - QML

  • 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?

Log in to reply