mendapat python

import sys

sys.getsizeof(object[,default])

#Returns the memory size of an object that is passed to it in the unit of bytes
MitchAloha