Python, ile pamięci potrzebuje zmienna
from sys import getsizeof
a = 42
getsizeof(a) # size of object in bytes
Real Raccoon
from sys import getsizeof
a = 42
getsizeof(a) # size of object in bytes