memory_profiler is a python module for monitoring memory consumption of a process as well as line-by-line analysis of memory consumption for python programs.
docker build -t containerops/memory_profiler .docker run --rm -e CO_DATA='git-url=https://github.com/fabianp/memory_profiler.git entry-file=test/test_func.py' containerops/memory_profiler
# test with python2
docker run --rm -e CO_DATA='git-url=https://github.com/fabianp/memory_profiler.git entry-file=test/test_func.py version=python' containerops/memory_profilergit-urlis the source git repo urlversionis one ofpython,python2,python3,py3k. default ispy3kentry-fileis the entry file for memory profile