Skip to content

Memory Leak - RunspacePool don't release resources #2

@BornToBeRoot

Description

@BornToBeRoot

Memory Leak when scanning. RunspacePool don't release resources properly.

Exception calling "EndInvoke" with "1" argument(s): "Exception of type 'System.OutOfMemoryException' was thrown." At C:\tools\ScanNetworkAsync.ps1:311 char:9 + $Jop_Results += $Job.Pipe.EndInvoke($Job.Result) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [], MethodInvocationException + FullyQualifiedErrorId : OutOfMemoryException

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions