How to check memory leak using valgrind in kong?

Hello everyone,

I have implemented a plugin in kong. I would like to check memory leak using valgrind. So I tried to check as openresty and set environment variable TEST_NGINX_USE_VALGRIND=1. But when I start kong. It does not indicates any memory check information. So could anyone tell me how to use valgrind to check kong’s memory leak, please?

BR,
Xuxin

Where did you find documentation on that environment variable?


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ