Per snap memory consumption

Is there a way to figure out per snap memory consumption at run time? (both storage and RAM)

WRT disk usage, there is the snap in /var/lib/snapd/snaps plus any runtime data in $SNAP_DATA (/var/snap/<snapname>) and $SNAP_USER_DATA (~/snap/<snapname>) … if you sum that up you should get a pretty exact number.

Ok. That should do for disk usage. Will check. Any such method for RAM memory consumption per snap?