Troubleshoot memory leak in ubuntu core

I have both x86 and arm devices that running Ubuntu core.
X86-kernel first used sample-kernel but cause memory leak. After replace with this branch-master . All goes well on x86.
Arm-kernel is download from here. Kernel version is

Linux localhost.localdomain 4.15.18-g9c35307-dirty #1 SMP Wed Dec 19 17:27:18 CST 2018 armv7l armv7l armv7l GNU/Linux

And memory leak is occured while using 4.15-kernel.And the 4.4-sample-kernel in github have memory leak both on x86 and arm.
We have check about several week but still can not find what’s going wrong.
Anyone else seeing similar issue? Ideas on what’s going on? Thanks!

Could you share a bit more about the memory leak behavior you observed?

This might be related to the kernel configuration, missing patches etc etc…

There are definitely no memory leaks to notice using kernels built from the official ubuntu branches (either on the reference images (raspberrypi (armhf), amd64, i386 or draginboard (arm64)) or when using a locally built kernel from one of the trees using the official ubuntu default config)

As @chihchun said above, more info about that specific memory leak would be helpful…