We have some sort of a huge memory leak going on and our process' resident memory is increasing exponentially.
pmap -x shows something like:
...
00007f4ad85cd000 10530276 9129608 9129608 rw--- [ anon ]
....
this anon is the one that is responsible for the leak
similarly cat /proc//smaps showed something like:
7f4b03dfb000-7f4d5b146000 rw-p 00000000 00:00 0
Size: 9817388 kB
Rss: 8547272 kB
Pss: 8547272 kB
Shared_Clean: 0 kB
Shared_Dirty: 0 kB
Private_Clean: 0 kB
Private_Dirty: 8547272 kB
Referenced: 6971056 kB
Anonymous: 8547272 kB
AnonHugePages: 0 kB
Swap: 80732 kB
KernelPageSize: 4 kB
now what? what can I do next to figure out what might be causing the issue? how to debug further? there is no core, really old code - no one knows where to add logs either.
How do I figure out what is contributing to 7f4b03dfb000-7f4d5b146000