- changed status to resolved
Powershell: 'System.OutOfMemoryException' was thrown
My backup script has been working fine until about 2 weeks ago. This is the error it is throwing. My machine has 8GB of ram and 100GB of free space. I am not sure if this is a limitation of power shell as my backups have grown to over 2.5 GB.
Here is the Full error from the script:
Downloading: jira_export_20161213_074520.zip to JIRA-backup-20161213.zip
Invoke-WebRequest : Exception of type 'System.OutOfMemoryException' was thrown.
At E:\Scripts\JiraBackup.ps1:44 char:5
+ Invoke-WebRequest -Method Get -Headers @{"Accept"="/"} -WebSession $sessio ...
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Invoke-WebRequest], OutOfMemoryException
+ FullyQualifiedErrorId : System.OutOfMemoryException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
Comments (1)
-
- Log in to comment
Obsolete