Hi,
I thought that held bytes was the sum of live instance itself + children held bytes. I have an object taking 848 bytes but one child alone takes 4960 bytes so how the parent can be 848?
Thanks
Pascal
Held Bytes in Type Instance Details screen
-
- Posts: 1030
- Joined: Wed Mar 02, 2005 7:53 pm
Re: Held Bytes in Type Instance Details screen
No, the held bytes of an instance is not the sum of the instance itself plus the held bytes of the children. In this case you have something that resembles this:
here and here.
I hope this helps.
You have a User instance with some related data. This data is only reachable from the user instance and thus the data is counted as "Held bytes" for the User instance. However, the User instance is shared by multiple other instances, e.g. by multiple AccessResultsCacheKeys. Since the User instance is shared by more than one instance, it will not be held by a single instance.
If all instances that are using the shared User instance are considered at the same time, then the User instance will be held by this set of instances.
You can read about held instances at I hope this helps.
Best regards,
Andreas Suurkuusk
SciTech Software AB
Andreas Suurkuusk
SciTech Software AB
Who is online
Users browsing this forum: No registered users and 16 guests