Skip to content

[ISSUE]: High memory usage #4680

@pvanbuijtene

Description

@pvanbuijtene

Prerequisites

  • I have written a descriptive issue title
  • I have searched issues to ensure it has not already been reported

GitVersion package

GitVersion.Tool

GitVersion version

6.4

Operating system

Windows, Linux

What are you seeing?

Running the dotnet-gitversion tool with default configuration results in high memory usage of around 10GB, this is on a repository with 25k commits.

This amount is a bit too much for our build agents resulting in builds to fail... and is also a bit unexpectedly high.

PR with investigation is on it's way...

What is expected?

A more reasonable memory footprint of a few 100MBs would be reasonable I think in this case.

Steps to Reproduce

Looking into anonymizing the private repository.

RepositoryFixture Test

No response

Output log or link to your CI build (if appropriate).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions