Git Product home page Git Product logo

Comments (3)

mxschmitt avatar mxschmitt commented on May 26, 2024

This seems a fairly uncommon use-case - what are you trying to achieve?

For me, when I was opening the test.js in normal Chrome, and reloading the page manually after the site has fully loaded, and did that for 20 times, it also gained around 2,5GB of RAM.

from playwright-dotnet.

bba2022 avatar bba2022 commented on May 26, 2024

This seems a fairly uncommon use-case - what are you trying to achieve?

For me, when I was opening the test.js in normal Chrome, and reloading the page manually after the site has fully loaded, and did that for 20 times, it also gained around 2,5GB of RAM.

Thank you very much for your reply. This use case is indeed unrelated to playwright, and manual refreshing in regular browsers can also have the same problem. Actually, I suggest limiting the memory size of each content, as some websites may experience a memory surge after running for a long time (more than 12 hours), which can cause the software's main process to crash. The above-mentioned memory restriction function is also implemented in cefsharp, you can refer to it. Thank you very much.

from playwright-dotnet.

mxschmitt avatar mxschmitt commented on May 26, 2024

I'll close this for now since this is not actionable for us. We unfortunately can't run scripts for more than 12 hours. Also testing the file:// scheme is outside of what we support (we only support http/https). I recommend filing a new issue with an end-to-end specific testing use-case and clear reproduction steps. Thanks!

from playwright-dotnet.

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.