Thanks for all your replies, if I understand correct it is the size of the references used in the session object and not the size of objects stored in the heap.
How can I find out the size of objects in heap, do I have to get each attribute from the session, find its type and then based on that calculate the size of heap?