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

JVM入門 -メモリ管理編-

Kinoko
July 18, 2019

JVM入門 -メモリ管理編-

関ジャバ'19 7月度 - connpass https://kanjava.connpass.com/event/134133/
登壇資料

Kinoko

July 18, 2019
Tweet

More Decks by Kinoko

Other Decks in Programming

Transcript

  1. Full GC͸͕͔͔࣌ؒΔ 2019-07-18T07:28:35.759-0900: 53.145: [GC (Allocation Failure) [PSYoungGen: 1153507K->190965K(1768960K)] 1400776K->506242K(2118656K),

    0.3026525 secs] [Times: user=2.55 sys=0.14, real=0.31 secs] 2019-07-18T07:28:36.064-0900: 53.450: [Full GC (Ergonomics) [PSYoungGen: 190965K->190932K(1768960K)] [ParOldGe 315276K->290297K(610816K)] 506242K->481229K(2379776K), [Metaspace: 2676K->2676K(1056768K)], 4.7517463 secs] [Times: user=29.92 sys=0.06, real=4.75 secs] ্ͷϚΠφʔGC ɾɾɾ 0.31 secs
 ԼͷFull GC ɾɾɾ 4.75 secs
  2. The Eclipse Memory Analyzer • Eclipse Memory Analyzer Open Source

    Project | The Eclipse Foundation
 https://www.eclipse.org/mat/ • ώʔϓμϯϓΛ͍͍ײ͡ʹදࣔͯ͘͠ΕΔGUI πʔϧ
  3. ͪͳΈʹJava11ͷσʔλ෼ੳʹ͸
 Java Mission ControlΛ࢖͏ͱ͍͍ͦ͏Ͱ͢ • Java Mission Control 
 https://www.oracle.com/technetwork/jp/

    java/javaseproducts/mission-control/ index.html • ༗ঈػೳ͕ͩͬͨɺJava11͔ΒOpenJDKʹ دଃ͞Εͯແঈఏڙͱͳͬͨ
  4. ࢀߟʹͨ͠ϖʔδ • OutOfMemoryError ͷௐ΂ํ - Qiita https://qiita.com/opengl-8080/items/ 64152ee9965441f7667b • Java͸ͲͷΑ͏ʹಈ͘ͷ͔ʙਤղͰΘ͔ΔJVMͷ࢓૊Έɿ࿈ࡌʛgihyo.jp

    … ٕज़ධ࿦ࣾ http://gihyo.jp/dev/serial/01/jvm-arc • ʮϝϞϦʔΛҙࣝͯ͠ΈΑ͏ʯୈ2ճɹGCͷ࢓૊ΈΛཧղ͢Δ | ೔ܦ xTECH ʢΫϩεςοΫʣ https://tech.nikkeibp.co.jp/it/article/COLUMN/ 20060612/240657/?rt=nocnt • ·͡ΊʹJVMνϡʔχϯά: ୈ1ճ ·ͣ͸ݱঢ়֬ೝ https://x1.inkenkun.com/ archives/367