Skip to content

Progress Bar may consume unnecessary memory #3367

Closed

Description

@iSazonov

Recently cmdlets used WriteProgress() (ex., web cmdlets) can potentially create hundreds of thousands of ProgressRecord objects.
It looks like undue load on GC.

Activity

  1. added
    WG-Cmdletsgeneral cmdlet issues
    Issue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassif
    on Mar 19, 2017
  2. iSazonov commented on Mar 19, 2017

    @iSazonov
    CollaboratorAuthor

    After Progress Bar performance improvements in #2822 many ProgressRecord objects are simply ignored. It would be great not to create a new object each time, and reuse one.

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

    Issue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifResolution-FixedThe issue is fixed.WG-Cmdletsgeneral cmdlet issues

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions