A simple snmpwalk against the system will slowly erode system memory .
monitoring memory foodprint for snmpd process with pid: 6249
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
6249 root 104M 2048K sleep 59 0 0:43:19 0.0% snmpd/1
08-01-2015-09:29
6249 root 104M 2048K sleep 59 0 0:43:19 0.0% snmpd/1
08-01-2015-10:29
6249 root 105M 7532K sleep 59 0 1:14:23 7.3% snmpd/1
08-01-2015-11:29
<<<SNIP>>>
1
08-02-2015-06:29
6249 root 114M 15M sleep 59 0 12:27:18 7.7% snmpd/1
08-02-2015-07:29
6249 root 114M 16M sleep 51 0 13:00:58 8.2% snmpd/1
08-02-2015-08:29
6249 root 115M 16M sleep 0 0 13:34:30 6.2% snmpd/1
I am attaching the patch file which reduces this memory leak to greater extent.