I have an "select * from tables..joins...
" query on an oracle database, which would return about 22 milion rows. I'm using C# and ODP.NET, like so:
oracleDataReader odr = command.ExecuteReader();
But during execution of this statement, the process takes about 1,5 Gb RAM, which is not very good.
Any idea on how to save some memory?