Symptom
High memory usage seen under MallocLite when running the "show process memory sorted" command. The memory consumption increases over time, a pattern consistent with a memory leak.
Router# show process memory sorted
Processor Pool Total: 538384392 Used: 501666808 Free: 36717584
reserve P Pool Total: 102400 Used: 48 Free: 102352
lsmpi_io Pool Total: 3145264 Used: 3144292 Free: 972
PID TTY Allocated Freed Holding Getbufs Retbufs Process
0 0 0 0 203784040 0 0 *MallocLite*
142 0 632172000 636151264 85945592 0 0 SAMsgThread
0 0 117129368 23154824 84036004 0 0 *Init*
Under "show memory allocating-process total" we find HTTP CORE and Smart Agent processes as the top allocators:
Router# show memory allocating-process total
Tracekey : 1#6b532f387017d1cba293f5d5e38e7853
Head Total(b) Used(b) Free(b) Lowest(b) Largest(b)
Processor 42333028 538384392 502528780 35855612 35801968 419616
reserve P 42333058 102400 52 102348 102348 102348
lsmpi_io 4075D1D0 3145264 3144296 968 968 968
Allocator PC Summary for: Processor
Total Count Name PC
168708440 464259 HTTP CORE :7AB000+828C748
58917780 1047 SAMsgThread :7AB000+11783E4
27147516 464 Crypto CA :7AB000+190FC54
Conditions
The device must be configured with Smart Licensing using HTTPS encryption, such as through the Call-Home profile.
Workaround
Reload the device to reset the memory leak and configure Smart Licensing using the Offline (Air-Gapped) mode.
Further Problem Description
The defect has a similar behavior and root cause as defect CSCwa85525, but was not fixed in 17.6.5. It's fixed in software releases after and including 17.9.1.