I would like to be able to know, in run-time in my code, how much memory a certain object is taking (a Dataset in this case, but i’m looking for a ‘general’ solution).
Is this possible through reflection?
This is for .Net 2.0.
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Great, so to sumarize, there is no easy way, other than using the Profiling API which is a lot of work. Thanks!