J
Jesper
Is there any way to get or estimate the memory being used by a dataset or a
datatable? I'm writing a caching class and trying to keep track of the size
of the data I'm keeping or at least an estimate, to make better decisions on
when and what to expire.
I realize that without going to unmanaged code, I'm probably only going to
be able to get an estimate, but thats ok. Right now I'm doing a rather crude
loop over all the columns of a table but I'm not including any overhead for
neither columns, rows, tables, or sets. And I'm guessing that they are quite
conciderable.
datatable? I'm writing a caching class and trying to keep track of the size
of the data I'm keeping or at least an estimate, to make better decisions on
when and what to expire.
I realize that without going to unmanaged code, I'm probably only going to
be able to get an estimate, but thats ok. Right now I'm doing a rather crude
loop over all the columns of a table but I'm not including any overhead for
neither columns, rows, tables, or sets. And I'm guessing that they are quite
conciderable.