Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Java Memory Troubleshooting

perforb
December 04, 2017

Java Memory Troubleshooting

perforb

December 04, 2017
Tweet

More Decks by perforb

Other Decks in Technology

Transcript

  1. RS PVU • .GE K 0 • . K 58

    • M.6 J" , 1- E EG O • B M M J G • G B C M J G , • 5 2 7 K E 0 M G E K D , ) • 5 2 ( - K 8 M 4 D ) )" E EG
  2. st • 3B3 cb • 1 -) 2 2 •

    1 -) 2 2 • 3 3 A 2 2 • (3A5 2 2 • N cb • 6 3 A • 6 3B • • A a e nl bd brTMW Xv RI ghi x T o S S S m J P
  3. S I • 3B3M • 1 -) 2 2 •

    1 -) 2 2 • 3 3 A 2 2 • (3A5 2 2 • I M • 6 3 A • 6 3B • • A N PWTX R JM
  4. • c N N dV • > < • 1

    > - < C3. 3 3 • 51 > • 51 > • > 3 > > • C3a_ M T b • C3 3 1 <5 • )( G M T b e
  5. . : - > 5<: .- • pcb g y

    klnfme a • = • 0- % T t M • u V sN obi bd_jV v Xr J • 11(. : - > 5<: >> 11(. : - > 5<: := • 5> ) : 0- : > > := • 5> ) : 0- : > > =: • 5> ) : 0- : > > := :88
  6. ( )( Total: reserved=3224257KB +49008KB, committed=1987281KB +89092KB - Java Heap

    (reserved=1572864KB, committed=1572864KB) - Class (reserved=1137209KB +23765KB, committed=98565KB +25045KB) (classes #14873 +2984) - Thread (reserved=30938KB +8582KB, committed=30938KB +8582KB) (thread #84 +31) (stack: reserved=30028KB +8060KB, committed=30028KB +8060KB) - Code (reserved=280682KB +8425KB, committed=85422KB +47229KB) - GC (reserved=103695KB +2538KB, committed=103695KB +2538KB)
  7. ) ) ( Total: reserved=3224257KB +49008KB, committed=1987281KB +89092KB - Java

    Heap (reserved=1572864KB, committed=1572864KB) - Class (reserved=1137209KB +23765KB, committed=98565KB +25045KB) (classes #14873 +2984) - Thread (reserved=30938KB +8582KB, committed=30938KB +8582KB) (thread #84 +31) (stack: reserved=30028KB +8060KB, committed=30028KB +8060KB) - Code (reserved=280682KB +8425KB, committed=85422KB +47229KB) - GC (reserved=103695KB +2538KB, committed=103695KB +2538KB) M N ) )
  8. 8D 8D 8D 8D 8D 8D( 8D) 8D 8D 8D

    8D 8D 8D 8D 8D 28 8 - ( ( ( (( ( ( ( ) -03 - ( ( ( ( () () ( ( ) ( ) ) ) ) - ) 0 18 B [ 104 4 8 9 P NM 6 5 C7G S 28 8 - -03 - - 18 B [ T G X
  9. W 8F S 8 • G 8 • ) 11

    1 • 11 C8 PTGS 9 1 • JM • T ST • ( • • JM
  10. ( ) -server -Xms1536m -Xmx1536m -Xss256K -XX:MaxMetaspaceSize=256M -XX:+TieredCompilation -XX:ReservedCodeCacheSize=256m -XX:+UseCodeCacheFlushing

    -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled -XX:NativeMemoryTracking=detail ( )
  11. 08B% 08B 08B 08B( 08B) 08B 08B 08B 08B- 08B%

    08B%% 08B% 08B% 08B%( 08B%) 48 8 1 -- % %(% %))( % % ( %% % ( -- 36 1 ) - % -- %% % ( %) % ( % %) % - % % % % % % % % ) 1% 1 % % ) % ( % % ( %% % ) % %) ) 3. 28 8RS P 566 7 %) 7 %) 48 8 1 36 1 1% 1 08B-J48 8 1 D 1% 1 JX C G 9 M ) 48 8 1 566
  12. 2 2 2 2 2 2 2 ( 2 )

    2 2 2 2 2 2 2 02825545 1 ) ) ) ) ) ) ) ) ( ) 37 69 55 02825545 1 55 F 55 CD G 55
  13. 07C 07C 07C 07C 07C( 07C) 07C 07C 07C, 07C

    07C 07C 07C 07C 07C ( 57 7 2 ( , ) , ( ( ( ( )( 36 2 ( , ( (( ( ) , ( ) , ) ( ( ) ) ,) 2 2 ( , , , ( ( ) ( ) , 8 = 9 S OM 57 7 2 4 9 7 78 C 3. 36 2 4 9 7 78 C ),3. 2 2 4 9 7 78 C () 3. 57 7 2 36 2 2 2 1B 2 1B 2 FGD D 9 S P
  14. i S F • • Fp MGc s t •

    5 r d ae r • B r d 3 zu PS • o c C SP 0 R C Fl S
  15. S a 6 • • . r F% G 2C

    • l u e . r F • % FR P . r oC5 C 2 d • % e F F
  16. 1 • S M • M )- a P G

    • ( C e C J M X
  17. 

  18. 321 • = E 6 8 E: : # ::

    # 7 • = E =9 6 =6 : 67 8 : # ## • = E 68 K: L 8 : # = L :9 8: E 7 : 6 : • = E LLL 9: =6 : : 4 ? 0 7 6 6 76 : 6 76 : 8 :8 • = E LLL 9: =6 : : 4 ? 0 7 6 8 8 : 6 L::E 6 76 : 8 :8 • = E ?: 6 8 8 7 6 76 : 8 :8 ?6K6 : 6 : E 6 • = E 9 =6 : 6 : ?E 5 # # # • = E LLL : 6 6 : : LE .E-# • = E 9 8 68 : 8 89 /# # # # 67: 9: = • = E =6 : 67 ?E : # # # • = E 7 6 =: :9 L : # # # 99 :L6 : 7: 8= 6 : • = E : ? : :8= ?6K6 = E • = E E 7 7 : :6 L= 9 : ?6K6 E 8: 8 : : : =6
  19. 

  20. si X-3 : • = 3 • 2 e X

    0 RxB a • R p P 2 Ru GoX • M = 3 Rd y lR si G o • T 2 Ro u P • = 3 P = 3 2 R e n X P wr • 0 Rpm RgR R z MCNS t
  21. 22 . 6 6 : / • 22 . 6

    6 : / - • +0 oe l T s X Ic • S X IcJ oe n z • oe n X IcRt vr • d ghimp wNUX • 4 C 22 0 6 = C af nbR = :CC EEE E 44 6 == = : 6 / 6 6 C