Git Product home page Git Product logo

Comments (3)

DoooReyn avatar DoooReyn commented on May 30, 2024

收到。

from wxreader.

DoooReyn avatar DoooReyn commented on May 30, 2024

找了一圈发现是Qt的老Bug了 👉 Memory size increases per page load
有空试一下最后回答的那位老哥提供的方案,看看能不能确实减少内存泄漏问题。

from wxreader.

DoooReyn avatar DoooReyn commented on May 30, 2024
  • 问题描述:每切换一次页面,内存占用只增不减
  • 问题所在:Qt5 的 QWebEngineView 内存管理存在问题
  • 解决方案:升级到 Qt6 或者 PySide6
  • 目前情况:
    • 已将项目升级到 PySide6
    • 加载新页面时会出现内存暴涨;如果页面内容比较多,内存占用会更大;如果快速切换页面,内存会涨得更快;
    • 但在页面加载完成之后,等待一段时间,内存会下降并稳定下来 (~=200M),可见 QWebEngineView 的内存释放存在滞后性

from wxreader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.