Symptom
A 9400 switch could experience a memory leak in the CMCC process when a line card is present, but shut down with 'hw-module slot shutdown':
Switch# show proc mem plat sorted
System memory: 15956812K total, 6388288K used, 9568524K free,
Lowest: 9568524K
Pid Text Data Stack Dynamic RSS Total Name
--------------------------------------------------------------------------------
10481 843 1329552 136 1298688 1329552 1657772 cmcc <<< Resident Set Size at 1.3 GB and growing!
13199 843 1329536 136 1298616 1329536 1657700 cmcc
Conditions
Line cards are present in the chassis, but manually shut down in the config.
Workaround
Refrain from shutting down line cards in the global config. If a card needs to be brought down, remove/unseat the card from the chassis.