Is there any tool to view the memory consumption of objects. I have really no idea how expensive is the beans