Skip to content

[Bug]: Memory leak in constantly running tests. #36473

Open
@piotrczarnak

Description

@piotrczarnak

Version

1.51.0

Steps to reproduce

  1. Create playwright
  2. Create Browser
  3. Create BrowserContext
  4. Create page
  5. Perform login on my page and check if user is properly logged in.
  6. Close page
  7. Close BrowserContext
  8. Close Browser
  9. Close Playwright

Expected behavior

Memory consumption Is all the time on same level.

Actual behavior

Memory is consumed very fast from 756 MB on the start and reach 4GB after 8h.

Image

Additional context

Tests are run in docker container which is created by myself. Tests are run each 1000 ms.

I noticed that there are many not closed processes. After using stem -t

Image

Environment

OS: jvm-ubuntu:21
Language: Java

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions