Get size of instance

  • Thread starter Thread starter news.microsoft.com
  • Start date Start date
N

news.microsoft.com

Hi all,

I would like to know the size of a dataset I have loaded in memory to decide
how to process some data in it, but it seems that I cannot use sizeof for
that....

Any other function which I might have missed?

Thanks
Shaun
 
Hello news.microsoft.com,

n> I would like to know the size of a dataset I have loaded in memory to
n> decide how to process some data in it, but it seems that I cannot use
n> sizeof for that....

try profilers, like CLR Profiler

n> Any other function which I might have missed?

Marshal.SizeOf()


---
WBR, Michael Nemtsev [C# MVP]. Blog: http://spaces.live.com/laflour
team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top