I grabbed 2 baselines for the linkerd process. One after startup, which I then diffed once the heap got to it’s normal operating area(where it was no longer growing). That’s the first one. It’s not terribly interesting.
I grabbed a new baseline, and left it for 13 hours(overnight, low traffic time). In that time, the RSS grew from 1.05G to 1.3G. Looking at that NMT, you can see the only major growth was internal at +112,784KB. Will update again once it gets close to the 2G mark.
The JVM is
# java -version
java version "1.8.0_152"
Java(TM) SE Runtime Environment (build 1.8.0_152-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode)
NMT: Startup to heap fill
Total: reserved=2683234KB +66369KB, committed=804898KB +217801KB
- Java Heap (reserved=1048576KB, committed=258688KB +149796KB)
(mmap: reserved=1048576KB, committed=258688KB +149796KB)
- Class (reserved=1103438KB +2639KB, committed=62126KB +1999KB)
(classes #9334 +62)
(malloc=3662KB +591KB #15829 +1351)
(mmap: reserved=1099776KB +2048KB, committed=58464KB +1408KB)
- Thread (reserved=174472KB +8260KB, committed=174472KB +8260KB)
(thread #170 +8)
(stack: reserved=173732KB +8224KB, committed=173732KB +8224KB)
(malloc=542KB +27KB #890 +40)
(arena=198KB +9 #338 +16)
- Code (reserved=50781KB +238KB, committed=6061KB +1926KB)
(malloc=861KB +238KB #2112 -77)
(mmap: reserved=49920KB, committed=5200KB +1688KB)
- GC (reserved=77390KB +10KB, committed=74974KB +598KB)
(malloc=73970KB +10KB #448 +15)
(mmap: reserved=3420KB, committed=1004KB +588KB)
- Compiler (reserved=413KB +104KB, committed=413KB +104KB)
(malloc=283KB +104KB #588 +229)
(arena=130KB #2)
- Internal (reserved=169173KB +56479KB, committed=169173KB +56479KB)
(malloc=169141KB +56479KB #16560 +297)
(mmap: reserved=32KB, committed=32KB)
- Symbol (reserved=12346KB +15KB, committed=12346KB +15KB)
(malloc=10867KB +15KB #86423 +145)
(arena=1479KB #1)
- Native Memory Tracking (reserved=1951KB +32KB, committed=1951KB +32KB)
(malloc=21KB +1KB #236 +10)
(tracking overhead=1930KB +31KB)
- Arena Chunk (reserved=830KB -1407KB, committed=830KB -1407KB)
(malloc=830KB -1407KB)
- Unknown (reserved=43864KB, committed=43864KB)
(mmap: reserved=43864KB, committed=43864KB)
NMT post heap fill, 13 hours later
Total: reserved=2797899KB +114277KB, committed=939339KB +134053KB
- Java Heap (reserved=1048576KB, committed=277936KB +19248KB)
(mmap: reserved=1048576KB, committed=277936KB +19248KB)
- Class (reserved=1104022KB +584KB, committed=62966KB +840KB)
(classes #9346 +12)
(malloc=4246KB +584KB #16695 +868)
(mmap: reserved=1099776KB, committed=58720KB +256KB)
- Thread (reserved=174472KB, committed=174472KB)
(thread #170)
(stack: reserved=173732KB, committed=173732KB)
(malloc=542KB #890)
(arena=198KB #338)
- Code (reserved=50921KB +135KB, committed=6397KB +331KB)
(malloc=1001KB +135KB #2332 +215)
(mmap: reserved=49920KB, committed=5396KB +196KB)
- GC (reserved=77391KB +1KB, committed=75051KB +77KB)
(malloc=73971KB +1KB #455 +7)
(mmap: reserved=3420KB, committed=1080KB +76KB)
- Compiler (reserved=456KB +43KB, committed=456KB +43KB)
(malloc=326KB +43KB #643 +51)
(arena=130KB #2)
- Internal (reserved=282982KB +112784KB, committed=282982KB +112784KB)
(malloc=282950KB +112784KB #16739 +178)
(mmap: reserved=32KB, committed=32KB)
- Symbol (reserved=12349KB +4KB, committed=12349KB +4KB)
(malloc=10870KB +4KB #86459 +36)
(arena=1479KB #1)
- Native Memory Tracking (reserved=1972KB +22KB, committed=1972KB +22KB)
(malloc=21KB #236)
(tracking overhead=1951KB +22KB)
- Arena Chunk (reserved=894KB +703KB, committed=894KB +703KB)
(malloc=894KB +703KB)
- Unknown (reserved=43864KB, committed=43864KB)
(mmap: reserved=43864KB, committed=43864KB)