镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

please use less memory in test-zlib #17986

Description

@kapouer

This line

const node = fs.createReadStream(process.execPath);

consumes a lot of memory during tests.
Some platforms will not have enough memory and will somewhat wrongfully fail the test.
Is it possible to load another file (than process.execPath) ?

Activity

  1. Trott commented on Jan 5, 2018

    @Trott
    Member

    Hi, @kapouer! Can you confirm that #17988 fixes this for your situation?

  2. added
    testIssues and PRs related to Node.js core tests and test infrastructure.
    zlibIssues and PRs related to the zlib module and its compression dependencies.
    on Jan 5, 2018
  3. kapouer commented on Jan 5, 2018

    @kapouer
    ContributorAuthor

    Thanks ! I'm just waiting for the mips build server (where it fails more often) to finish. Will confirm tomorrow UTC+1 :)

  4. kapouer commented on Jan 5, 2018

    @kapouer
    ContributorAuthor

    I confirm that the test pass now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    testIssues and PRs related to Node.js core tests and test infrastructure.zlibIssues and PRs related to the zlib module and its compression dependencies.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions