src.main.main_memcheck
- author:
Alberto M. Esmoris Pena
- brief:
Stand-alone script to check C++ memory handling of pyvl3dpp library.
Note that this script must be called straight forward and not called from through vl3d.py. The rationale behind this is that loading the framework implies loading joblib, tensorflow, and many other libraries that generate entries in memory profilers and sanitizers (e.g., valgrind, ASAN, etc.). The purpose of this script is to provide a clean environment to analyze the memory management of pyvl3dpp.
WARNING! This script requires to manually set the PYTHONPATH to include the cpp/build directory because it is a raw script that does not load the framework. Consequently, it does not load the vl3dpp loader neither.