I observed that a loop on below powershell command will cause the memory usage steadily increase:
Write-EventLog -LogName $logName -Source $sourceName -Message "perfLog" -EventId 0 -EntryType information
Does Write-EventLog have memory leak? Or there is any resource cleanup call that I missed? Thanks for any clue.
- Edited by Leonjl Monday, June 01, 2015 3:33 PM
- Moved by Franklin ChenMicrosoft contingent staff Tuesday, June 02, 2015 11:51 AM Powershell