JVM ä¸ã§åãã¢ããªã±ã¼ã·ã§ã³ãéç¨ããã«ã¯ GC ã«æ°ãé ãå¿ è¦ãããã¾ãã GC ããã¾ããã¥ã¼ãã³ã°ããããã«ã¯ãã¾ãã¯ç¾ç¶ãç¥ããã¨ã大åã§ãã GC ã®çµ±è¨æ å ±ã¯ jstat -gcutil ã§åå¾ãããã¨ãã§ãã¾ãã試ãã« Jenkins ã®ããã»ã¹ãè¦ã¦ã¿ã¾ãã $ pid=`sudo jps | grep jenkins | awk '{ print $1 }'` $ sudo jstat -gcutil ${pid} S0 S1 E O P YGC YGCT FGC FGCT GCT 0.00 57.68 21.33 66.26 99.51 73 0.179 4 0.271 0.450 ãã®çµ±è¨æ å ±ãå®æçã«åå¾ãã¦ãã¸ã¥ã¢ã©ã¤ãºããã° GC ã®å¾åãã¤ããã¾ãããã® AWS å ¨çæã«æãªããã® RRDtool ã¯ä½¿ããããªãã®ã§ãä»å㯠CloudWatch ã§ãã¸ã¥
{{#tags}}- {{label}}
{{/tags}}