Skip to content

Merging coverage profiles leads lots of duplicated lines and uses lots of memory #1329

@myzhan

Description

@myzhan

I'm using ginkgo to run the testcases in a project that has 26w lines of code, with the -p flag enabled.

Issues

  1. When running testcases in parallel, more cpu cores lead to more duplicated lines. If I add the -p flag and run on a 64 cores machine, the size of cover.out file is 7.9GB. And the size of cover.out file is 130MB when -p flag removed.
  2. All the coverage files are read into combined buffer, which use lots of memory. And ginkgo will be oom-killed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions