We have such problem. Always after saving configuration, we have found the memory leak, about 2MB from process CFGMGR. Because of this we forced to reboot the switch after some times.
System Type: X650-24x(SSns)
Secondary ver: 184.108.40.206
Image Selected: secondary
show configuration "cfgmgr" detail
# Module cfgmgr configuration.
configure cli max-sessions 8
configure cli max-failed-logins 3
disable cli scripting permanent
configure idletimeout 20
What can be done in this situation?