General information
Title:
Object Instance Size in RAM
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only