I guess we dont know how much RAM is required without seeing the input CSV data, and the derived XML, the in memory parse of the CSV will be many factors larger than the original file.
That said, if you have access to a machine with a lot more RAM this can't hurt.