How to check memory leak with dpdk application
Hi, all
I'am trying to use valgrind to check memory leak with my dpdk application but dpdk always failed to mmap hugepages.
Without valgrind it works well.How to run dpdk applications with valgrind?Is there any other way to check memory leak with dpdk applications?
Quoted 7 lines · Linhaifeng
Hi, all
I'am trying to use valgrind to check memory leak with my dpdk application but dpdk always failed to mmap hugepages.
Without valgrind it works well.How to run dpdk applications with valgrind?Is there any other way to check memory leak with dpdk applications?
Yes it can be used, just that 3.10 has issues with hugepages. Check this out:
http://article.gmane.org/gmane.comp.networking.dpdk.devel/8058/match=valgrind+hugepages
Marc
Quoted 11 lines · Marc Sune
Quoted 7 lines · Linhaifeng
Hi, all
I'am trying to use valgrind to check memory leak with my dpdk application but dpdk always failed to mmap hugepages.
Without valgrind it works well.How to run dpdk applications with valgrind?Is there any other way to check memory leak with dpdk applications?
Quoted 7 lines
Yes it can be used, just that 3.10 has issues with hugepages. Check this out:
http://article.gmane.org/gmane.comp.networking.dpdk.devel/8058/match=valgrind+hugepages
Marc
Hi,Marc
Thank you very much!