in reply to Re: Exiting takes a looong time
in thread Exiting takes a looong time

I went throught it with the debugger, and tried exiting at different points, and the delay only occurred after the data was in memory. Also, in the debugger, I run  $data = undef, and that gave me the delay too.

And, yes, I do need that data in memory. I have to perform various manipulations and calculate statistics on the data which means I can't just process it one row at a time.