How to measure memory allocated for solid, logical and physical volumes?

Hi everyone,

I want to know how to obtain in Geant4 memory allocation values of created solid, logical and physical volumes.

Thanks and regards,
Jaafar