Decorator to measure the memory usage in each block of python function.
## OPTION 1 ##
# necessary install
$sudo pip3 install memory_profiler
# recomendable install to improve the velocity
$sudo pip3 install psutil
# usage
$python3 -m memory_profiler function.py
# required
@profile
def function():
pass