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?
A message that is not in the archive (sent off-list or not yet received): [email protected]
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
A message that is not in the archive (sent off-list or not yet received): [email protected]
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!