æè¿ JVM ã®ãã¼ãé åã¨ãã©ã¡ã¼ã¿ãããã¦ã³ã³ããã®é¢ä¿ã«ã¤ãã¦èª¿ã¹ã¦ã¾ããã æ¡å¤ã¾ã¨ã¾ã£ãæ å ±ãå°ãªãã£ãã®ã§ç°¡åã«ã¾ã¨ãã¾ããã Java ã®ãã¼ããµã¤ãºãè¨å® ã¾ã㯠Java ã®ãã¼ããµã¤ãºã«ã¤ãã¦ç°¡åãªããããã§ãã æ¬çªç°å¢ã§ Java ã¢ããªã±ã¼ã·ã§ã³ãéç¨ããä¸ã§ãJVM ã®ãã¼ããµã¤ãºã決å®ããã®ã¯é常ã«å¤§äºãªãã¤ã³ãã§ãã ãã¼ãé åã®æ大ãµã¤ãºã大ããããã°ã¬ãã¼ã¸ã³ã¬ã¯ã·ã§ã³ (GC) ã®åæ°ã¯æ¸ãããã¨ãã§ãã¾ããã å¿ è¦ä»¥ä¸ã«å¤§ããããããã¨ç¡é§ã«ãªã½ã¼ã¹ãæ¶è²»ããããOOM killer 㧠OS ã«ããã»ã¹ãçµäºããããã¾ãã JVM ã使ç¨ã§ãããã¼ããµã¤ãºã¯ãJava API ã® Runtime.getRuntime().maxMemory() ã§ç¢ºèªã§ãã¾ãã ã¾ã java ã®èµ·åãªãã·ã§ã³ã« -XX:+PrintFlagsFinal ãªãã·ã§
{{#tags}}- {{label}}
{{/tags}}