Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object Instance Size in RAM
Message
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Object Instance Size in RAM
Miscellaneous
Thread ID:
01292014
Message ID:
01292014
Views:
55
Is there a way to determine the size in bytes/K an instantiated object takes up in memory? For instance:

dataset ds...
adapter.Fill(ds,"mytable")...

how much memory does the "ds" object use? I also need to do it on instantiated Forms or other classes.

Note: I'm not looking to multiple the record count of the table by the record size, because obviously this won't work on something like new myclass(). I'm strictly looking for memory usage.

Thanks in advance.
Reply
Map
View

Click here to load this message in the networking platform