Solved:

The Method Close of the Datareader was slow because it was inside a
try-catch.
I remove de try-catch and it´s ok now.


[]'s

Mário Cardia


2013/8/27 Mário Cardia <[email protected]>

>
> Hi,
>
> I'm have a batch proccess that reads from many datareaders.
>
> When I finished with de datareader I call the close() method.
>
> This is too slow. If I don´t close the data reader, the application runs
> in 0.4ms
> If I close the datareader, the application runs in 26 seconds.
>
> Does anybody has a tip in how to solve this problem?
>
> There are many datareaders in sub routines. I´m afraid that not closing
> them I will keep trash in memory.
>
>
> []'s
>
> Mário Cardia
>
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to