Hello, I need to investigate growing of used memory in VPP v20.01 process. I found that valgrind si not suitable and read that VPP has it's own memory checker. I tried python scripts GEF for gdb, it is not able to work with VPP process.
I see in release notes for some previous version that "leak-checker" was added. I looked at source code but only thing probably relating to this I found is that define DLMALLOC which can be set in src/vppinfra/CMakeLists.txt with: option(VPP_USE_DLMALLOC "Use dlmalloc memory allocator." OFF) But build failed with OFF setting, I successfully fixed some build errors, still not all but first I'd like to put question if this way can enable some command for checking memory leaks or am I wrong ? How to setup leak-checker or other mechanism for investigating which code allocates pieces of memory on the heap ? what commands for investigating heap are available ? Or where can I find some info about it ? Peter
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17651): https://lists.fd.io/g/vpp-dev/message/17651 Mute This Topic: https://lists.fd.io/mt/77338173/21656 Group Owner: [email protected] Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
