求助>Java应用运行一段时间后占用进程过大>
15回复

Java应用运行一段时间后占用进程过大



现象:限制堆内存为2g但是程序运行一段时间后进程占用6g内存
观察主要增长为Internal区域。暂时无解决思路希望大佬解答一下,或提供一些定位思路。
内存占用如下
Native Memory Tracking:

Total: reserved=6292013KB +1539438KB, committed=5135497KB +1547890KB

  •             Java Heap (reserved=2097152KB, committed=2097152KB)
                          (mmap: reserved=2097152KB, committed=2097152KB)
    
  •                 Class (reserved=1195883KB +2229KB, committed=164035KB +2229KB)
                          (classes #24637)
                          (malloc=14187KB +181KB #58583 -3174)
                          (mmap: reserved=1181696KB +2048KB, committed=149848KB +2048KB)
    
  •                Thread (reserved=330857KB +16399KB, committed=330857KB +16399KB)
                          (thread #625 +32)
                          (stack: reserved=328076KB +16512KB, committed=328076KB +16512KB)
                          (malloc=2049KB +105KB #3129 +160)
                          (arena=732KB -218 #1246 +64)
    
  •                  Code (reserved=269720KB -4533KB, committed=145052KB +3919KB)
                          (malloc=20120KB -4533KB #22197 -10586)
                          (mmap: reserved=249600KB, committed=124932KB +8452KB)
    
  •                    GC (reserved=85877KB -1KB, committed=85877KB -1KB)
                          (malloc=9253KB -1KB #856 -42)
                          (mmap: reserved=76624KB, committed=76624KB)
    
  •              Compiler (reserved=1753KB -159KB, committed=1753KB -159KB)
                          (malloc=1623KB -159KB #2892 -1291)
                          (arena=131KB #6)
    
  •              Internal (reserved=2267668KB +1520485KB, committed=2267668KB +1520485KB)
                          (malloc=2267636KB +1520485KB #39668 +996)
                          (mmap: reserved=32KB, committed=32KB)
    
  •                Symbol (reserved=30690KB +10KB, committed=30690KB +10KB)
                          (malloc=26686KB +10KB #273270 +61)
                          (arena=4004KB #1)
    
  • Native Memory Tracking (reserved=7216KB +16KB, committed=7216KB +16KB)
    (malloc=766KB +190KB #10648 +2568)
    (tracking overhead=6450KB -173KB)

  •           Arena Chunk (reserved=5196KB +4991KB, committed=5196KB +4991KB)
                          (malloc=5196KB +4991KB)
1490 阅读
请先登录,再评论

回复列表

Native Memory Tracking:

Total: reserved=5336059KB +1221255KB, committed=4174467KB +1260699KB

- Java Heap (reserved=2097152KB, committed=2097152KB)
(mmap: reserved=2097152KB, committed=2097152KB)

- Class (reserved=1193413KB +7143KB, committed=161169KB +7783KB)
(classes #24653 +189)
(malloc=13765KB +999KB #61915 +16526)
(mmap: reserved=1179648KB +6144KB, committed=147404KB +6784KB)

- Thread (reserved=290974KB +131156KB, committed=290974KB +131156KB)
(thread #548 +252)
(stack: reserved=288344KB +130032KB, committed=288344KB +130032KB)
(malloc=1796KB +829KB #2744 +1260)
(arena=834KB +295 #1092 +504)

- Code (reserved=274088KB +7499KB, committed=144740KB +46303KB)
(malloc=24488KB +7499KB #31591 +7952)
(mmap: reserved=249600KB, committed=120252KB +38804KB)

- GC (reserved=85878KB -1KB, committed=85878KB -1KB)
(malloc=9254KB -1KB #894 -25)
(mmap: reserved=76624KB, committed=76624KB)

- Compiler (reserved=1338KB +629KB, committed=1338KB +629KB)
(malloc=1207KB +629KB #3521 +785)
(arena=131KB #6)

- Internal (reserved=1355001KB +1074434KB, committed=1355001KB +1074434KB)
(malloc=1354969KB +1074434KB #37394 +4118)
(mmap: reserved=32KB, committed=32KB)

- Symbol (reserved=30705KB +65KB, committed=30705KB +65KB)
(malloc=26670KB +33KB #273231 +374)
(arena=4036KB +32 #1)

- Native Memory Tracking (reserved=7306KB +831KB, committed=7306KB +831KB)
(malloc=706KB +279KB #9896 +3863)
(tracking overhead=6600KB +552KB)

- Arena Chunk (reserved=205KB -502KB, committed=205KB -502KB)
(malloc=205KB -502KB)

[0x00007f6f0c6ea702]
[0x00007f6f0cbc268a]
[0x00007f6f0cbc9bdd]
[0x00007f6f0ca1d62c]
(malloc=1KB type=Class +1KB #85 +85)

[0x00007f6f0c6ea702]
[0x00007f6f0cbc268a]
[0x00007f6f0cbc9bdd]
[0x00007f6f0cbcb98c]
(malloc=200KB type=Class +7KB #12819 +429)

[0x00007f6f0c6ea702]
[0x00007f6f0cbc268a]
[0x00007f6f0cbc9bdd]
[0x00007f6f0cbca2b2]
(malloc=29KB type=Class +1KB #1855 +38)

[0x00007f6f0cc0020a]
[0x00007f6f0c86fe83] JVM_StartThread+0x113
[0x00007f6ef8ca9226]
(malloc=34KB type=Internal +30KB #291 +254)

[0x00007f6f0c5e1211]
[0x00007f6f0cbc8ed0]
[0x00007f6f0cc2911e]
[0x00007f6ef5018427]
(malloc=25KB type=Internal +3KB #214 +26)

[0x00007f6f0c5e102a]
[0x00007f6f0cbc48f2]
[0x00007f6f0c868d8c]
[0x00007f6f0c86a67a] JVM_DefineClass+0x8a
(malloc=146KB type=Internal -1KB #1244 -10)

[0x00007f6f0c9cd030]
[0x00007f6f0c9cd0a0]
[0x00007f6f0c9cd930]
(malloc=484KB type=Native Memory Tracking +135KB #6879 +1923)

[0x00007f6f0c690e34]
(malloc=1KB type=Compiler +1KB #13 +13)

[0x00007f6f0ca0e434]
[0x00007f6f0c5e01c4]
[0x00007f6f0ca0fcd3]
[0x00007f6f0c678e11]
(malloc=18KB type=Class +2KB #214 +26)

[0x00007f6f0ca0e434]
[0x00007f6f0c5e01fb]
[0x00007f6f0ca0fcd3]
[0x00007f6f0c678e11]
(malloc=107KB type=Class -1KB #1244 -10)

[0x00007f6f0c867535]
[0x00007f6f0c590230]
[0x00007f6f0c5aeffe]
[0x00007f6f0c5af8ce]
(malloc=1KB type=Internal +1KB #4 +4)

[0x00007f6f0cc21d3a]
[0x00007f6ef5018427]
(malloc=872782KB type=Internal +606635KB #190 +95)

[0x00007f6f0cc21d3a]
[0x00007f6ef8fb0ea8]
(malloc=460790KB type=Internal +460790KB #90 +90)

[0x00007f6f0c9ed53b]
[0x00007f6f0cc54768]
[0x00007f6f0c9e82b0]
[0x00007f6f0c9e8823]
(malloc=34KB type=Native Memory Tracking +34KB #363 +363)

[0x00007f6f0c923244]
[0x00007f6f0c8e3909]
[0x00007f6f0c88d51b]
[0x00007f6f0b01569f]
(malloc=35KB type=Internal +10KB #492 +138)

[0x00007f6f0c45df45]
[0x00007f6f0c45c75c]
[0x00007f6f0cc000a6]
[0x00007f6f0c86fe83] JVM_StartThread+0x113
(malloc=121KB type=Arena Chunk +58KB #535 +256)

[0x00007f6f0c45df45]
[0x00007f6f0c45d6a1]
[0x00007f6f0cc49800]
[0x00007f6f0cc4eb48]
(malloc=64KB type=Arena Chunk +64KB #2 +2)

[0x00007f6f0c45df45]
[0x00007f6f0c45d6a1]
[0x00007f6f0c4ccf07]
[0x00007f6f0c4dd03e]
(malloc=0KB type=Arena Chunk -32KB)

[0x00007f6f0c45df45]
[0x00007f6f0c45d6a1]
[0x00007f6f0c5a850d]
[0x00007f6f0c59ca7e]
(malloc=0KB type=Arena Chunk -32KB)

[0x00007f6f0c45df45]
[0x00007f6f0c45d6a1]
[0x00007f6f0c6fa70e]
[0x00007f6f0c980616]
(malloc=0KB type=Arena Chunk -32KB)

[0x00007f6f0c45df45]
[0x00007f6f0c45d6a1]
[0x00007f6f0c59841f]
[0x00007f6f0c4e5240]
(malloc=0KB type=Arena Chunk -32KB)

[0x00007f6f0c45df45]
[0x00007f6f0c45d6a1]
[0x00007f6f0ca40535]
[0x00007f6f0ca40886]
(malloc=0KB type=Arena Chunk -32KB)

[0x00007f6f0c45df45]
[0x00007f6f0c45d6a1]
[0x00007f6f0c55fe3a]
[0x00007f6f0c4d0738]
(malloc=0KB type=Arena Chunk -32KB)

[0x00007f6f0c45df45]
[0x00007f6f0c45d6a1]
[0x00007f6f0c53643c]
[0x00007f6f0c53c09a]
(malloc=0KB type=Arena Chunk -32KB)

[0x00007f6f0c45df45]
[0x00007f6f0c45d6a1]
[0x00007f6f0c4a2142]
[0x00007f6f0c5384a5]
(malloc=0KB type=Arena Chunk -32KB)

[0x00007f6f0c45df45]
[0x00007f6f0c45d6a1]
[0x00007f6f0c4d2c4f]
[0x00007f6f0c4d2d70]
(malloc=0KB type=Arena Chunk -32KB)

[0x00007f6f0c45df45]
[0x00007f6f0c45d6a1]
[0x00007f6f0c52e651]
[0x00007f6f0c53c0d7]
(malloc=0KB type=Arena Chunk -32KB)

[0x00007f6f0c45df45]
[0x00007f6f0c45d6a1]
[0x00007f6f0c510963]
[0x00007f6f0c52a3ba]
(malloc=0KB type=Arena Chunk -32KB)

[0x00007f6f0c45df45]
[0x00007f6f0c45d6a1]
[0x00007f6f0c52ac67]
[0x00007f6f0c50e2ad]
(malloc=0KB type=Arena Chunk -32KB)

[0x00007f6f0c45df45]
[0x00007f6f0c45d6a1]
[0x00007f6f0c53b967]
[0x00007f6f0c53beb5]
(malloc=0KB type=Arena Chunk -32KB)

[0x00007f6f0c45df45]
[0x00007f6f0c45d6a1]
[0x00007f6f0c54cc7b]
[0x00007f6f0c54ce12]
(malloc=0KB type=Arena Chunk -32KB)

[0x00007f6f0c45df45]
[0x00007f6f0c45d6a1]
[0x00007f6f0c46d37e]
[0x00007f6f0c4f35a9]
(malloc=0KB type=Arena Chunk -32KB)

[0x00007f6f0c45df45]
[0x00007f6f0c45d6a1]
[0x00007f6f0c5ac191]
[0x00007f6f0c58cdfc]
(malloc=0KB type=Arena Chunk -32KB)

[0x00007f6f0c45df45]
[0x00007f6f0c45d6a1]
[0x00007f6f0ca8199d]
[0x00007f6f0c71e4a5]
(malloc=32KB type=Arena Chunk +32KB #1 +1)

[0x00007f6f0c45df45]
[0x00007f6f0c45d6a1]
[0x00007f6f0ca6909d]
[0x00007f6f0c795320]
(malloc=64KB type=Arena Chunk +32KB #2 +1)

[0x00007f6f0c45df45]
[0x00007f6f0c45d6a1]
[0x00007f6f0c52fea7]
[0x00007f6f0c530da9]
(malloc=32KB type=Arena Chunk -64KB #1 -2)

[0x00007f6f0c45df45]
[0x00007f6f0c45d6a1]
[0x00007f6f0c530aaf]
[0x00007f6f0c53a001]
(malloc=0KB type=Arena Chunk -32KB)

[0x00007f6f0c45df45]
[0x00007f6f0c45d6a1]
[0x00007f6f0c5af4bf]
[0x00007f6f0c5af8ce]
(malloc=32KB type=Arena Chunk -32KB #1 -1)

[0x00007f6f0c45df45]
[0x00007f6f0c45d6a1]
[0x00007f6f0ca825d6]
[0x00007f6f0c71d139]
(malloc=224KB type=Arena Chunk +192KB #7 +6)

[0x00007f6f0c45df45]
[0x00007f6f0c45d6a1]
[0x00007f6f0c4eded7]
[0x00007f6f0c4e6625]
(malloc=0KB type=Arena Chunk -32KB)

[0x00007f6f0c45df45]
[0x00007f6f0c45d6a1]
[0x00007f6f0cc4ead9]
[0x00007f6f0cc49cfe]
(malloc=32KB type=Arena Chunk +32KB #1 +1)

[0x00007f6f0c45df45]
[0x00007f6f0c45d6a1]
[0x00007f6f0ca447e2]
[0x00007f6f0ca44cba]
(malloc=32KB type=Arena Chunk -32KB #1 -1)

[0x00007f6f0c45df45]
[0x00007f6f0c45d6a1]
[0x00007f6f0c79dced]
[0x00007f6f0ca8728c]
(malloc=0KB type=Arena Chunk -32KB)

[0x00007f6f0c45df45]
[0x00007f6f0c45d6a1]
[0x00007f6f0c79dced]
[0x00007f6f0c6138a9]
(malloc=0KB type=Arena Chunk -32KB)

[0x00007f6f0c45df45]
[0x00007f6f0c45d6a1]
[0x00007f6f0c4c8def]
[0x00007f6f0c4c50d6]
(malloc=0KB type=Arena Chunk -32KB)

[0x00007f6f0c45df45]
[0x00007f6f0c45d6a1]
[0x00007f6f0ca2a2fc]
[0x00007f6f0c5a812c]
(malloc=0KB type=Arena Chunk -32KB)

[0x00007f6f0c45df45]
[0x00007f6f0c45c8f0]
[0x00007f6f0c61a657]
[0x00007f6f0c561dca]
(malloc=47KB type=Arena Chunk +32KB #48 +33)

[0x00007f6f0c45df45]
[0x00007f6f0c45c8f0]
[0x00007f6f0c58295b]
[0x00007f6f0c6266bf]
(malloc=85KB type=Arena Chunk +38KB #87 +39)

[0x00007f6f0c45df45]
[0x00007f6f0c45c8f0]
[0x00007f6f0cc00076]
[0x00007f6f0c86fe83] JVM_StartThread+0x113
(malloc=92KB type=Arena Chunk +55KB #94 +56)

[0x00007f6f0c45df45]
[0x00007f6f0c45c8f0]
[0x00007f6f0c580089]
[0x00007f6f0c61a348]
(malloc=4KB type=Arena Chunk +4KB #4 +4)

[0x00007f6f0c45df45]
[0x00007f6f0c45c8f0]
[0x00007f6f0c580096]
[0x00007f6f0c61a348]
(malloc=11KB type=Arena Chunk +2KB #11 +2)

[0x00007f6f0c45df45]
[0x00007f6f0c45c8f0]
[0x00007f6f0c61a797]
[0x00007f6f0c561dca]
(malloc=95KB type=Arena Chunk +53KB #97 +54)

[0x00007f6f0c45df45]
[0x00007f6f0c45c8f0]
[0x00007f6f0c61a6be]
[0x00007f6f0c561dca]
(malloc=42KB type=Arena Chunk +23KB #43 +24)

[0x00007f6f0c45df45]
[0x00007f6f0c45c8f0]
[0x00007f6f0c5f25c4]
[0x00007f6f0c4715b3]
(malloc=92KB type=Arena Chunk +15KB #94 +15)

[0x00007f6f0c45df45]
[0x00007f6f0c45c8f0]
[0x00007f6f0c61a6d0]
[0x00007f6f0c561dca]
(malloc=53KB type=Arena Chunk +26KB #54 +27)

[0x00007f6f0ca0eb4a]
[0x00007f6f0ca0f26b]
[0x00007f6f0ca0fce5]
[0x00007f6f0c678e94]
(malloc=23KB type=GC -1KB #726 -45)

[0x00007f6f0c62bf4e]
[0x00007f6f0cb48990]
[0x00007f6f0cb495f2]
[0x00007f6f0cb4a134]
(malloc=11KB type=Compiler +1KB #366 +28)

[0x00007f6f0c79e555]
[0x00007f6f0cc0017b]
[0x00007f6f0c86fe83] JVM_StartThread+0x113
[0x00007f6ef8ca9226]
(malloc=16KB type=Thread +14KB #291 +254)

[0x00007f6f0ca0e65a]
[0x00007f6f0c5e01c4]
[0x00007f6f0ca0fcd3]
[0x00007f6f0c678e11]
(malloc=18KB type=Class +2KB #214 +26)

[0x00007f6f0ca0e65a]
[0x00007f6f0c5e01fb]
[0x00007f6f0ca0fcd3]
[0x00007f6f0c678e11]
(malloc=107KB type=Class -1KB #1244 -10)

[0x00007f6f0cbc005d]
[0x00007f6f0cbc0345]
[0x00007f6f0cbc1646]
[0x00007f6f0cb4e05b]
(malloc=1078KB type=Internal +1078KB #49 +49)

[0x00007f6f0cbc005d]
[0x00007f6f0cbc0150]
[0x00007f6f0cbc1646]
[0x00007f6f0c550318]
(malloc=66KB type=Internal +66KB #3 +3)

[0x00007f6f0cbc005d]
[0x00007f6f0cbc0150]
[0x00007f6f0cbc1646]
[0x00007f6f0c81591a]
(malloc=22KB type=Internal +22KB #1 +1)

[0x00007f6f0cbc005d]
[0x00007f6f0cbc0150]
[0x00007f6f0cbc1646]
[0x00007f6f0cb4e05b]
(malloc=4248KB type=Internal +4137KB #193 +188)

[0x00007f6f0cbc005d]
[0x00007f6f0cbc0150]
[0x00007f6f0cbc0f55]
[0x00007f6f0c869ab9] JVM_IHashCode+0x59
(malloc=682KB type=Internal +572KB #31 +26)

[0x00007f6f0cbc005d]
[0x00007f6f0cbc0150]
[0x00007f6f0cbc18ac]
[0x00007f6f0ca8023f]
(malloc=242KB type=Internal +44KB #11 +2)

[0x00007f6f0cbc005d]
[0x00007f6f0cbc0150]
[0x00007f6f0c48c2dc]
[0x00007f6f0cc4e2b3]
(malloc=66KB type=Internal +44KB #3 +2)

[0x00007f6f0cabd15e]
[0x00007f6f0cc00534]
[0x00007f6f0c86fe83] JVM_StartThread+0x113
[0x00007f6ef8ca9226]
(malloc=48KB type=Internal +42KB #293 +257)

[0x00007f6f0cc00061]
[0x00007f6f0c86fe83] JVM_StartThread+0x113
[0x00007f6ef8ca9226]
(malloc=14KB type=Thread +12KB #291 +254)

[0x00007f6f0c9e806b]
[0x00007f6f0c9e82fc]
[0x00007f6f0c9e8823]
[0x00007f6f0ca65841]
(malloc=1KB type=Native Memory Tracking +1KB #16 +16)

[0x00007f6f0c7dc36f]
[0x00007f6f0ca6165c]
[0x00007f6f0c58985e]
[0x00007f6f0c61b45e]
(malloc=529KB type=Class +305KB #22588 +12992)

[0x00007f6f0c7dc36f]
[0x00007f6f0ca6165c]
[0x00007f6f0c58985e]
[0x00007f6f0c4c9fbc]
(malloc=307KB type=Class +46KB #13114 +1982)

[0x00007f6f0c62c089]
[0x00007f6f0cb4bf09]
[0x00007f6f0cb4c68c]
[0x00007f6ef5045c1a]
(malloc=54KB type=Compiler +3KB #1722 +102)

[0x00007f6f0cc4e989]
[0x00007f6f0c69057e]
(malloc=332KB type=Compiler +179KB #174 +94)

[0x00007f6f0cc4e989]
[0x00007f6f0c69057e]
[0x00007f6f0c6928aa]
[0x00007f6ef50473d5]
(malloc=103KB type=Compiler +66KB #56 +36)

[0x00007f6f0cc4e989]
[0x00007f6f0c69057e]
[0x00007f6ef50453f9]
(malloc=4KB type=Compiler +2KB #2 +1)

[0x00007f6f0cc0008c]
[0x00007f6f0c86fe83] JVM_StartThread+0x113
[0x00007f6ef8ca9226]
(malloc=16KB type=Thread +14KB #291 +254)

[0x00007f6f0cc0028e]
[0x00007f6f0c86fe83] JVM_StartThread+0x113
[0x00007f6ef8ca9226]
(malloc=140KB type=Internal +122KB #293 +257)

[0x00007f6f0c690f90]
(malloc=14KB type=Compiler +7KB #161 +86)

[0x00007f6f0c690f90]
[0x00007f6f0c6928aa]
[0x00007f6ef50473d5]
(malloc=5KB type=Compiler +3KB #56 +36)

[0x00007f6f0c9eca90]
[0x00007f6f0c9cd7f8]
[0x00007f6f0c9e8223]
[0x00007f6f0c9e8823]
(malloc=45KB type=Native Memory Tracking +23KB #635 +333)

[0x00007f6f0c87d690] JVM_RawMonitorCreate+0x20
[0x00007f6f0a5c9689]
[0x00007f6f0a5c79a6] Java_java_util_zip_ZipFile_open+0x106
[0x00007f6ef5640392]
(malloc=0KB type=Internal -22KB)

[0x00007f6f0c7a1395]
[0x00007f6f0c7a1401]
[0x00007f6f0c95f22d]
[0x00007f6f0cbc6109]
(malloc=28KB type=Class +2KB #14 +1)

[0x00007f6f0cc0029d]
[0x00007f6f0c86fe83] JVM_StartThread+0x113
[0x00007f6ef8ca9226]
(malloc=140KB type=Internal +122KB #293 +257)

[0x00007f6f0c7a1ca5]
[0x00007f6f0c7a1d11]
[0x00007f6f0cbbc5f9]
[0x00007f6f0cbbcb6f]
(malloc=1400KB type=Symbol +40KB #175 +5)

[0x00007f6f0c7a1ca5]
[0x00007f6f0c7a1cf1]
[0x00007f6f0cbbbd94]
[0x00007f6f0cbbbf8b]
(malloc=7552KB type=Symbol +16KB #944 +2)

[0x00007f6f0c6910a8]
(malloc=3KB type=Compiler +1KB #174 +94)

[0x00007f6f0c5e01aa]
[0x00007f6f0ca0fcd3]
[0x00007f6f0c678e11]
[0x00007f6f0c5d4979]
(malloc=7KB type=Class +1KB #214 +26)

[0x00007f6f0cc002ac]
[0x00007f6f0c86fe83] JVM_StartThread+0x113
[0x00007f6ef8ca9226]
(malloc=140KB type=Internal +122KB #293 +257)

[0x00007f6f0ca9c7b3]
[0x00007f6f0c86fe83] JVM_StartThread+0x113
[0x00007f6ef8ca9226]
(malloc=64KB type=Thread +56KB #291 +254)

[0x00007f6f0ca62fba]
[0x00007f6f0cb3a693]
[0x00007f6f0cb3a73b]
(malloc=46KB type=Code +25KB #167 +91)

[0x00007f6f0ca62fba]
[0x00007f6f0c54dca6]
[0x00007f6f0c54f947]
[0x00007f6ef5118221]
(malloc=37KB type=Code -2KB #136 -7)

[0x00007f6f0ca62fba]
[0x00007f6f0c54dca6]
[0x00007f6f0c54f947]
[0x00007f6ef51158a0]
(malloc=1KB type=Code +1KB #5 +5)

[0x00007f6f0ca8f5ba]
[0x00007f6f0ca8f3c5]
[0x00007f6f0ca9c7d1]
[0x00007f6f0c86fe83] JVM_StartThread+0x113
(malloc=62KB type=Internal +30KB #531 +252)

[0x00007f6f0cc002bb]
[0x00007f6f0c86fe83] JVM_StartThread+0x113
[0x00007f6ef8ca9226]
(malloc=140KB type=Internal +122KB #293 +257)

[0x00007f6f0cc539bb]
[0x00007f6f0ca8bb54]
[0x00007f6f0cc57220]
[0x00007f6f0c7a3e6d]
(malloc=10KB type=Native Memory Tracking +3KB #159 +50)

[0x00007f6f0cc539bb]
[0x00007f6f0ca8bb54]
[0x00007f6f0cc57220]
[0x00007f6f0c7a3dbd]
(malloc=40KB type=Native Memory Tracking +12KB #641 +194)

[0x00007f6f0cbf52bd]
[0x00007f6f0c86fe60] JVM_StartThread+0xf0
[0x00007f6ef8ca9226]
(malloc=848KB type=Thread +740KB #291 +254)

[0x00007f6f0cbf52bd]
[0x00007f6f0c86fe60] JVM_StartThread+0xf0
[0x00007f6ef5018427]
(malloc=699KB type=Thread -6KB #240 -2)

[0x00007f6f0c5eecbd]
[0x00007f6f0c5ef0b3]
[0x00007f6f0ca596b0]
[0x00007f6f0ca5a379]
(malloc=19KB type=Code +6KB #244 +77)

[0x00007f6f0c5eecbd]
[0x00007f6f0c5ef0b3]
[0x00007f6f0ca60bcf]
[0x00007f6f0ca61613]
(malloc=24274KB type=Code +7469KB #29654 +7784)

[0x00007f6f0cc000c9]
[0x00007f6f0c86fe83] JVM_StartThread+0x113
[0x00007f6ef8ca9226]
(malloc=9KB type=Class +8KB #291 +254)

[0x00007f6f0c7dc5ca]
[0x00007f6f0ca17b10]
[0x00007f6f0c71b9e1]
[0x00007f6f0cbf4038]
(malloc=183KB type=Class +41KB #1460 +325)

[0x00007f6f0c8ef7cd]
[0x00007f6f0c5d59f4]
[0x00007f6f0cbc49c7]
[0x00007f6f0c868d8c]
(malloc=912KB type=Internal +5KB #58 +1)

[0x00007f6f0cc529d0]
[0x00007f6f0cbf90d6]
[0x00007f6f0ca91d82]
(malloc=50KB type=Native Memory Tracking +24KB #537 +252)

[0x00007f6f0c6910d1]
(malloc=4KB type=Compiler +2KB #174 +94)

[0x00007f6f0ca854d5]
[0x00007f6f0c7dc5de]
[0x00007f6f0ca17b10]
[0x00007f6f0c71b9e1]
(malloc=2555KB type=Class +569KB #1460 +325)

[0x00007f6f0c68b3d5]
[0x00007f6f0c690fdb]
(malloc=481KB type=Compiler +260KB #174 +94)

[0x00007f6f0c68b3d5]
[0x00007f6f0c690fdb]
[0x00007f6f0c6928aa]
[0x00007f6ef50473d5]
(malloc=155KB type=Compiler +100KB #56 +36)

[0x00007f6f0c68b3d5]
[0x00007f6f0c690fdb]
[0x00007f6ef50453f9]
(malloc=6KB type=Compiler +3KB #2 +1)

[0x00007f6f0c79dcd5]
[0x00007f6f0ca82824]
[0x00007f6f0c71d139]
[0x00007f6f0cbf4038]
(malloc=10KB type=Internal +8KB #1)

[0x00007f6f0c79dcd5]
[0x00007f6f0c555364]
[0x00007f6f0c9550aa]
[0x00007f6f0c9594d3]
(malloc=2KB type=Internal +2KB #4 +4)

[0x00007f6f0c79dcd5]
[0x00007f6f0c94e670]
[0x00007f6f0c9550d0]
[0x00007f6f0c9594d3]
(malloc=5KB type=Internal +3KB #10 +6)

[0x00007f6f0c79dcd5]
[0x00007f6f0c94e4a0]
[0x00007f6f0c9550d0]
[0x00007f6f0c9594d3]
(malloc=5KB type=Internal +2KB #11 +5)

[0x00007f6f0c79dcd5]
[0x00007f6f0ca3ceae]
[0x00007f6f0c7db800]
[0x00007f6f0ca379aa]
(malloc=19KB type=Internal +3KB #231 +17)

[0x00007f6f0c79dcd5]
[0x00007f6f0c8235b4]
[0x00007f6f0c879110] JVM_DoPrivileged+0x550
[0x00007f6ef5244095]

回复 你假笨:

这个暂时运维这边不同意。现在怀疑是使用苹果推送的时候出的问题

回复
你假笨4月前
回复 倔强的萝卜:

调试符号,也就是debuginfo

回复
回复 你假笨:

什么符号信息

回复
查看更多
大空翼5月前

启动的时候加参数-XX:NativeMemoryTracking=detail
通过执行jcmd <pid> VM.native_memory detail输出就会看到具体哪些地方是Internal的分配,不过这块分配在JVM里分配的地方会很多,可以大概肉眼统计总结下

[0x000000010dcd765b] _ZN14ArrayAllocatorImL10MemoryType7EE8allocateEm+0x8b
[0x000000010e0c12e5] _ZN20ParCompactionManager10initializeEP13ParMarkBitMap+0x3d5
[0x000000010e0ca96e] _ZN17PSParallelCompact15post_initializeEv+0xc0
[0x000000010e0a1a04] _ZN20ParallelScavengeHeap15post_initializeEv+0x1a
                             (malloc=14336KB type=Internal #14)

类似这种type=Internal

大空翼5月前
回复 倔强的萝卜:

那只能等现象再发生的时候排查了,Internal相当于Others,以上种类之外的都算这个里,所以场景会很多

回复
回复 大空翼:

现在没有内存的detail 当时忘记输出了,因为重启了机器得过一段时间才有detail信息了

回复