Skip to content

PSReadLine cannot handle super large history file properly #3771

@ajayguptarrk

Description

@ajayguptarrk

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest released version
  • Search the existing issues, especially the pinned issues.

Exception report

System out of memory  and it consume lots of memory when i see in task manager.

Screenshot

image

Environment data

PS Version: 5.1.14393.5582
PS HostName: ConsoleHost
PSReadLine Version: 1.2
PSReadLine EditMode: Windows
OS: 10.0.14393.0 (rs1_release.160715-1616)
BufferWidth: 139
BufferHeight: 3000

Steps to reproduce

Start powershell in visual code or windows it always crashed

Expected behavior

always crashed

Actual behavior

Start powershell in visual code or windows it always crashed

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-HistoryImprovementsLabel for tracking different improvements to historyArea-StabilityLabel for tracking stability IssuesIn-PRA PR is opened targeting the issueIssue-BugIt either shouldn't be doing this or needs an investigation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions