GithubHelp home page GithubHelp logo

Comments (3)

dgozman avatar dgozman commented on September 21, 2024 1

@david-ichilov-evinced Most likely that was a bug in Node v16 then. Anyway, Playwright targets Node 18+ these days, so you should update. I'll close the issue, but feel free to file a new one if you encounter any other problem.

from playwright.

dgozman avatar dgozman commented on September 21, 2024

@david-ichilov-evinced I ran your example with Playwright v1.42.1 and v1.43.1, and Node v16.20.2 and v20.11.1 and I wasn't able to repro:

$> NODE_OPTIONS='--max-old-space-size=50' npx playwright test a.spec

Running 100 tests using 5 workers
[5/100] [chromium] › a.spec.ts:27:9 › Reproduce › Out of memory 3

<--- Last few GCs --->
since start of marking 16 ms) (average mu = 0.851, current mu = 0.348) finalize i[7026:0x148008000]
...
<--- JS stacktrace --->

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
...

$> echo $? 
134

from playwright.

david-ichilov-evinced avatar david-ichilov-evinced commented on September 21, 2024

@dgozman I think I found it
Switched to Node v20.11.1 and it is now reporting correct error code
But on Node v16.15.1 this bug is reproducing

from playwright.

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.