I am trying to import a ~2.5 GiB .csv file containing 7+ million records.
----- 2021-09-13 06:28 2745868408 thefile.txt
After 3+ hours I stopped the following command. Task Manager was reporting memory utilization near 100% and CPU utilization on all cores ~90%.
$x = Import-Csv -Path '.\thefile.txt' -Delimiter '|'
Are there any known limits for Import-Csv? Must Get-Content|ForEach-Object be used?
PS C:\> $PSVersionTable.PSVersion.ToString()
7.1.4