|
Mailing Lists
|
Home / Groups / ColdFusion Talk (CF-Talk)
splitting large csv file into smaller partsI will fool around and see what I can do. ..................... Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ Well, my test has just run into problems and thrown a java.lang.OutOfMemoryError error. I'm thinking though maybe I can use the LineNumberReader code to split the csv file into smaller parts. Maybe take 5,000 rows at a time and write them out to a new csv file. Then I can just run the processing code that I already have on each smaller file. Does that logic seem sound to you? Cheers Will Will, If you are interested, I can get you some sample code on how I might parse a CSV file. I could have that for you on Monday. ....................... Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ |
June 19, 2013
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||