Marc Cracco wrote:I think I've cleared my two method calls from being the culprits. getAccountPartyIdByEmail() and addPartyToPartyGroup()
Well, I was going to point the finger at them. But obviously that's because I know nothing about them. Which is exactly your approach to the openCSV code, isn't it? So if you don't want to fire up the profiler, I think your alternative is to dig into the openCSV code and see what you can find. Me, I'd choose the profiler.
Edit: you have done some debugging, haven't you? It isn't the case that some glitch is parsing the whole file into a giant array the first time you hit line 28, or something like that?