u/Sparks_IT
Blogs, Articles, and Posts
Parsing large 500 MB text file
(reddit.com)
I have large text file that can be up to 500 MB in size. I have PowerShell script to parse each line
By: u/Sparks_IT submitted:Jun 16 2022
I have large text file that can be up to 500 MB in size. I have PowerShell script to parse each line
for a specific string, if found will copy that line to another text file for additional action later on in the script. My parsing works with the code below, but it can take a large amount of time and consume 10GB of ram while doing it. Is there a better, more efficient, and faster way of doing this?
By: u/Sparks_IT submitted:Jun 16 2022