Hi there.
How can i know how much memory is an instance taking, devided by internal
instances. For examples lets say i have 2 classes, C1 and C2.
C1 have an internal instance of C2
How can i know the size of:
C1 class
C2 class
C1 instance
Another question. If C1 has an instance method (1MB code), and i create 10
instances of C1, im using 10MB of ram or the code of the methods are shared
through the instances?
Thanks in advance!