Our GSR running BGP protocol, to receive the global routing table,
At present, our high memory utilization in GSR
In order to reduce memory usage, I did a prefix-list policy, only allows the router to receive routing entries less than /24
(ip prefix-list permit 0.0.0.0/0 le 23)
Recently the routing entries reduced, but the memory still has not reduced
I want know why?
Recently i had similar issue on my ASR1004. You will need to check memory usage regularly by show processes mem sorted command and see which process is chewing up the memory.
You could see the holding list and keep on checking if router is releasing the memory, if not i would suspect a memory leak. This could be caused due to possible IOS bug, if the process does not require memory it should release it.
My router was running @ 95% for 4 days and one of the process was chewing up 450M of my memory, i had to reboot the router in order to release the memory.
I contacted Cisco TAC and was advised a possible IOS bug would have caused it and had to upgrade the IOS, no certain answer from Cisco on how could i release the memory without reloading the router.