How do I determine whether there is a memory leak in the routing protocol process?
Memory leaks are typically the result of a seemingly unbounded growth in the memory usage of a process as reported by the show system processes extensive command.
There are two classes of memory leaks that the routing protocol process can experience:
A large discrepancy between the RES value and the Currently In Use value might indicate a memory leak. However, large discrepancies can also occur for legitimate reasons. For example, the memory used for the TEXT and STACK segments or the memory used by the routing protocol process’s internal memory manager might not be displayed. Further, the RES value includes shared library pages used by the process.
For more information, see Junos OS Routing Protocols Library for Routing Devices