M
Mantorok
Hi all
I'm populating a DataTable with around 1,500,000 rows, the table contains 4
columns, 3 string columns and a decimal column.
However, I keep getting OutOfMemory exceptions when my app starts to reach
around 700MB memory (this is a console app by the way).
So, question is, why does the DT eat so much memory and how can I avoid
these OutOfMemory exceptions? I "need" all of these rows available because
they will be referenced throughout the lifecycle of my app.
Thanks
Kev
I'm populating a DataTable with around 1,500,000 rows, the table contains 4
columns, 3 string columns and a decimal column.
However, I keep getting OutOfMemory exceptions when my app starts to reach
around 700MB memory (this is a console app by the way).
So, question is, why does the DT eat so much memory and how can I avoid
these OutOfMemory exceptions? I "need" all of these rows available because
they will be referenced throughout the lifecycle of my app.
Thanks
Kev