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_profiler
git-url
is the source git repo urlversion
is one ofpython
,python2
,python3
,py3k
. default ispy3k
entry-file
is the entry file for memory profile