System.OutOfMemoryException when extracting a JSON file
What Happened?
Issue:
You will encounter an error “System.OutOfMemoryException” when extracting a JSON file via a PowerShell Core task.
Impact:
Integrate PowerShell Core task will not succeed.
Error:
Root Cause:
This happens because of the large size of the JSON file being loaded into memory.
How can you fix it?
Resolution
You will need to reduce the size of the JSON file.
