Àkọsílẹ̀ "ìkójọpọ pàǹtírí" ti JVM ni a ṣe àdàkọ bí èyí: 1. Àwọn ohun tó ń ṣẹlẹ̀ Ìlà kọ̀ọ̀kan dúró fún ìgbòkègbodò ìkó ìdọ̀tí kan ṣoṣo tó bẹ̀rẹ̀ ní àkókò tí wọ́n fi sàmì sí. Ìkejì. Awọn ṣaaju ki o to ati lẹhin awọn titobi ti awọn agbegbe iranti oriṣiriṣi ninu JVM ni a fihan bi "MemoryArea: BeforeSize->AfterSize(AllocatedSize) " nibiti MemoryArea jẹ ọkan ninu PSYoungGen, ParOldGen, tabi Metaspace. Ìkẹta. Ti o ba ti "MemoryArea:" ti wa ni omitted, o duro fun awọn ṣaaju ki o si lẹhin iwọn ti gbogbo JVM ká iranti. 4. àwọn nǹkan mìíràn. Ìlà kọ̀ọ̀kan ní àkókò tí ó gbà láti ṣe iṣẹ́ náà ní ìṣẹ́jú àáyá.  Ṣe àkópọ̀ àkọsílẹ̀ tó wà nísàlẹ̀ yìí, kí o sì ṣàkíyèsí àwọn àṣìṣe tó ṣe pàtàkì: 2023-03-30T07:00:19.800+0000: [GC (Allocation Failure) [PSYoungGen: 17197776K->2224032K(21782528K) ] 64496630K->49524856K(79218176K), 3.2658630 secs] [Ìgbà: oníṣe=4.53 sys=0.00, gidi=3.27 secs] 2023-03-30T07:01:06.553+0000: [GC (Allocation Failure) [PSYoungGen: 17471392K->2195300K(22969344K) ] 64772216K->49530782K(80404992K), 3.3074224 secs] [Ìgbà: oníṣe=4.63 sys=0.00, gidi=3.30 secs] 2023-03-30T07:01:56.129+0000: [GC (Allocation Failure) [PSYoungGen: 19045732K->2429792K(22598656K) ] 66381214K->49767742K ((80034304K), 3.5912859 secs] [Ìgbà: oníṣe=4.94 sys=0.00, gidi=3.59 secs] 2023-03-30T07:02:46.034+0000: [GC (Allocation Failure) [PSYoungGen: 19280224K->2428421K(23520768K) ] 66618174K->49768148K ((80956416K), 3.6520001 secs] [Ìgbà: oníṣe=5.07 sys=0.03, gidi=3.65 secs] 2023-03-30T07:03:39.130+0000: [GC (Allocation Failure) [PSYoungGen: 20488709K->2600800K(23257088K) ] 67828436K->49943004K(80692736K), 3.8378192 secs] [Ìgbà: oníṣe=5.19 sys=0.00, gidi=3.84 secs] 2023-03-30T07:04:31.634+0000: [GC (Allocation Failure) [PSYoungGen: 20661088K->2550592K(23885312K) ] 68003292K->49894476K(81320960K), 3.7886199 secs] [Times: user=5.15 sys=0.00, real=3.78 secs] 2023-03-30T07:05:28.784+0000: [GC (Allocation Failure) [PSYoungGen: 21416768K->2709510K(23698432K) ] 68760652K->50055163K(81134080K), 3.9951697 secs] [Times: user=5.54 sys=0.00, real=3.99 secs] 2023-03-30T07:06:24.857+0000: [GC (Allocation Failure) [PSYoungGen: 21575686K->2709696K(24113664K) ] 68921339K->50058933K(81549312K), 4.0210395 secs] [Ìgbà: oníṣe=5.47 sys=0.01, gidi=4.02 secs] 2023-03-30T07:07:21.991+0000: [GC (Allocation Failure) [PSYoungGen: 22106304K->2835749K(24000512K) ] 69455541K->50186794K(81436160K), 4.0703042 secs] [Ìgbà: oníṣe=5.76 sys=0.00, gidi=4.06 secs] 2023-03-30T07:08:18.668+0000: [GC (Allocation Failure) [PSYoungGen: 22232357K->2785312K(24265216K) ] 69583402K->50204626K(81700864K), 4.1296625 secs] [Ìgbà: oníṣe=5.77 sys=0.00, gidi=4.13 secs] 2023-03-30T07:09:16.891+0000: [GC (Allocation Failure) [PSYoungGen: 22510624K->2834405K(24177664K) ] 69929938K->50255520K(81613312K), 4.2070487 secs] [Ìgbà: oníṣe=5.89 sys=0.01, gidi=4.21 secs] 2023-03-30T07:10:15.553+0000: [GC (Allocation Failure) [PSYoungGen: 22559717K->2842896K(24403456K) ] 69980832K->50266688K(81839104K), 4.2489383 secs] [Times: user=5.83 sys=0.02, real=4.24 secs] 2023-03-30T07:11:15.412+0000: [GC (Allocation Failure) [PSYoungGen: 22863632K->2880069K(24334848K) ] 70287424K->50306742K(81770496K), 4.2983311 secs] [Ìgbà: oníṣe=6.01 sys=0.00, gidi=4.29 secs] 2023-03-30T07:12:17.330+0000: [GC (Allocation Failure) [PSYoungGen: 22900805K->2670097K(24596992K) ] 70327478K->50099432K(82032640K), 3.9450690 secs] [Times: user=5.44 sys=0.00, real=3.95 secs] 2023-03-30T07:13:15.713+0000: [GC (Allocation Failure) [PSYoungGen: 23009297K->2684375K(24459776K) ] 70438632K->50115773K(81895424K), 3.9758416 secs] [Times: user=5.53 sys=0.00, real=3.97 secs] 2023-03-30T07:14:12.939+0000: [GC (Allocation Failure) [PSYoungGen: 23023575K->2678912K(24829952K) ] 70454973K->50113093K(82265600K), 3.9702778 secs] [Ìgbà: oníṣe=5.52 sys=0.00, gidi=3.97 secs] 2023-03-30T07:15:12.343+0000: [GC (Allocation Failure) [PSYoungGen: 23508608K->2753575K(24717312K) ] 70942789K->50189628K(82152960K), 4.0754481 secs] [Ìgbà: oníṣe=5.72 sys=0.00, gidi=4.08 secs] 2023-03-30T07:16:13.026+0000: [GC (Allocation Failure) [PSYoungGen: 23583271K->2762097K(24974336K) ] 71019324K->50201762K(82409984K), 4.1128461 secs] [Ìgbà: oníṣe=5.66 sys=0.00, gidi=4.11 secs] 2023-03-30T07:17:14.129+0000: [GC (Allocation Failure) [PSYoungGen: 23924593K->2797957K(24905728K) ] 71364258K->50239629K(82341376K), 4.1456776 secs] [Ìgbà: oníṣe=5.74 sys=0.01, gidi=4.15 secs] 2023-03-30T07:18:14.857+0000: [GC (Allocation Failure) [PSYoungGen: 23960453K->2804721K(25075712K) ] 71402125K->50249103K(82511360K), 4.1905285 secs] [Ìgbà: oníṣe=5.73 sys=0.01, gidi=4.19 secs] 2023-03-30T07:19:15.979+0000: [GC (Allocation Failure) [PSYoungGen: 24189937K->3641846K(25027072K) ] 71634319K->51171235K(82462720K), 3.6175882 secs] [Times: user=5.94 sys=0.00, real=3.62 secs] 2023-03-30T07:22:24.484+0000: [GC (Allocation Failure) [PSYoungGen: 25027062K->3360979K(24336896K) ] 72556451K->52269877K(81772544K), 0.4407322 secs] [Ìgbà: oníṣe=5.66 sys=0.00, gidi=0.44 secs] 2023-03-30T07:22:38.974+0000: [GC (Allocation Failure) [PSYoungGen: 24007379K->4035567K(24681984K) ] 72916277K->57145380K(82117632K), 0.8531910 secs] [Ìgbà: oníṣe=10.80 sys=0.23, gidi=0.85 secs] 2023-03-30T07:22:52.666+0000: [GC (Allocation Failure) [PSYoungGen: 24677029K->24677029K(24681984K) ] 77786841K->82112670K ((82117632K), 7.3509182 secs] [Ìgbà: oníṣe=22.60 sys=11.27, gidi=7.35 secs] 2023-03-30T07:23:00.017+0000: [Full GC (Ergonomics) [PSYoungGen: 24677029K->0K(24681984K) ] [ParOldGen: 57435641K->57435322K(57435648K) ] 82112670K->57435322K(82117632K), [Metaspace: 241941K->241941K(260096K) ], 26.4487596 secs] [Times: user=313.82 sys=2.44, real=26.45 secs] 2023-03-30T07:24:07.186+0000: [Full GC (Ergonomics) [PSYoungGen: 20646400K->12427037K(24681984K) ] [ParOldGen: 57435322K->57435609K(57435648K) ] 78081722K->69862646K(82117632K), [Metaspace: 241947K->241947K(260096K) ], 28.8675082 secs] [Times: user=350.97 sys=1.74, real=28.87 secs] 2023-03-30T07:24:36.057+0000: [Full GC (System.gc) ] [PSYoungGen: 12730000K->12427055K->24681984K) ] [ParOldGen: 57435609K->57435556K->57435648K) ] 70165609K->69862611K->82117632K), [Metaspace: 241947K->241947K->260096K], 31.3736816 secs] [Ìgbà: user=379.38 sys=2.94, gidi=31.37 secs] 2023-03-30T07:25:18.096+0000: [Full GC (Ergonomics) [PSYoungGen: 20646400K->16985330K(24681984K) ] [ParOldGen: 57435556K->57435308K(57435648K) ] 78081956K->74420638K(82117632K), [Metaspace: 241999K->241999K(260096K) ], 31.4762980s] [Times: user=363.38 sys=3.10, real=31.48 secs] 2023-03-30T07:25:54.537+0000: [Full GC (Ergonomics) [PSYoungGen: 20646400K->19116969K(24681984K) ] [ParOldGen: 57435308K->57435152K(57435648K) ] 78081708K->76552122K(82117632K), [Metaspace: 241999K->241999K(260096K) ], 31.0418139 secs] [Times: user=377.34 sys=2.75, real=31.04 secs] 2023-03-30T07:26:27.487+0000: [Full GC (Ergonomics) [PSYoungGen: 20646400K->19955901K(24681984K) ] [ParOldGen: 57435152K->57435290K(57435648K) ] 78081552K->77391191K(82117632K), [Metaspace: 241999K->241999K(260096K) ], 22.9475977 secs] [Ìgbà: user=280.80 sys=1.57, gidi=22.95 secs] 2023-03-30T07:26:51.319+0000: [Full GC (Ergonomics) [PSYoungGen: 20646400K->20340549K(24681984K) ] [ParOldGen: 57435290K->57435523K(57435648K) ] 78081690K->77776072K(82117632K), [Metaspace: 242004K->242004K(260096K) ], 37.25643 secs] [Ìgbà: user=458.29 sys=3.35, gidi=37.26 secs] 2023-03-30T07:27:28.892+0000: [Full GC (Ergonomics) [PSYoungGen: 20646400K->20465997K(24681984K) ] [ParOldGen: 57435523K->57435230K(57435648K) ] 78081923K->77901227K(82117632K), [Metaspace: 242007K->242007K(260096K) ], 31.4213545 secs] [Times: user=382.65 sys=2.74, real=31.42 secs] 2023-03-30T07:28:00.350+0000: [Full GC (Ergonomics) [PSYoungGen: 20646400K->20492397K(24681984K) ] [ParOldGen: 57435230K->57435139K(57435648K) ] 78081630K->77927536K(82117632K), [Metaspace: 24K2011->201124K(260096K) ], 17.3069966 secs] [Ìgbà: user=209.34 sys=0.45, gidi=17.31 secs] 2023-03-30T07:28:17.694+0000: [Full GC (Ergonomics) [PSYoungGen: 20639999K->20482496K(24681984K) ] [ParOldGen: 57435139K->57435581K(57435648K) ] 78075138K->77918078K(82117632K), [Metaspace: 242023K->242023K(260096K) ], 39.0253664 secs] [Times: user=478.37 sys=3.87, real=39.02 secs] 2023-03-30T07:28:56.752+0000: [Full GC (Ergonomics) [PSYoungGen: 20629482K->20490559K(24681984K) ] [ParOldGen: 57435581K->57435269K(57435648K) ] 78065064K->77925828K(82117632K), [Metaspace: 242023K->242023K(260096K) ], 32.7146380s] [Times: user=398.86 sys=2.93, real=32.71 secs] 2023-03-30T07:29:29.592+0000: [Full GC (Ergonomics) [PSYoungGen: 20627596K->20498740K(24681984K) ] [ParOldGen: 57435269K->57435482K(57435648K) ] 78062865K->77934223K(82117632K), [Metaspace: 242029K->242029K(260096K) ], 39.9805382 secs] [Times user=491.39 sys=4.10, real=39.98 secs] 2023-03-30T07:30:09.618+0000: [Full GC (Ergonomics) [PSYoungGen: 20646400K->20529006K(24681984K) ] [ParOldGen: 57435482K->57435402K(57435648K) ] 78081882K->77964408K(82117632K), [Metaspace: 242038K->242038K(260096K) ], 31.3632706 secs] [Times: user=382.46 sys=2.74, real=31.36 secs] 2023-03-30T07:30:41.012+0000: [Full GC (Ergonomics) [PSYoungGen: 20646400K->20535638K(24681984K) ] [ParOldGen: 57435402K->57435345K(57435648K) ] 78081802K->77970983K(82117632K), [Metaspace: 242053K->242053K(260096K) ], 31.0060106 secs] [Ìgbà: user=377.25 sys=2.72, gidi=31.00 secs] 2023-03-30T07:31:12.022+0000: [Full GC (Ergonomics) [PSYoungGen: 20646400K->20535719K(24681984K) ] [ParOldGen: 57435345K->57435297K(57435648K) ] 78081745K->77971016K(82117632K), [Metaspace: 242053K->242053K(260096K) ], 31.1714473 sec] [Times: user=380.42 sys=2.74, real=31.18 sec] 2023-03-30T07:31:43.215+0000: [Full GC (Ergonomics) [PSYoungGen: 20646400K->20536490K(24681984K) ] [ParOldGen: 57435297K->57435275K(57435648K) ] 78081697K->77971766K(82117632K), [Metaspace: 242061K->242061K(260096K) ], 30.9676462s] [Times: user=377.19 sys=2.88, real=30.96 secs] 2023-03-30T07:32:14.216+0000: [Full GC (Ergonomics) [PSYoungGen: 20646400K->20537679K(24681984K) ] [ParOldGen: 57435275K->57435244K(57435648K) ] 78081675K->77972923K(82117632K), [Metaspace: 242081K->242081K(260096K) ], 31.2592798 secs] [Times: user=379.77 sys=3.04, real=31.26 secs] 2023-03-30T07:32:45.532+0000: [Full GC (Ergonomics) [PSYoungGen: 20646400K->20518698K(24681984K) ] [ParOldGen: 57435244K->57435465K(57435648K) ] 78081644K->77954164K82(117632K), [Metaspace: 242123K->242123K2600(96K) ], 38.9523351 secs [Times user:=478.26 sys=4.04, real=38.95 secs] 2023-03-30T07:33:45.139+0000: [Full GC (Ergonomics) [PSYoungGen: 20627835K->20519977K(24681984K) ] [ParOldGen: 57435465K->57435334K(57435648K) ] 78063301K->77955311K(82117632K), [Metaspace: 242185K->242185K2600(96K) ], 31.8680480 secs [Times user: 388.66 sys=2.88, real=31.87 secs] 2023-03-30T07:34:17.045+0000: [Full GC (Ergonomics) [PSYoungGen: 20646400K->20529987K(24681984K) ] [ParOldGen: 57435334K->57435313K(57435648K) ] 78081734K->77965301K82(117632K), [Metaspace: 242185K->242185K26(0096K) ], 30.6528436 secs [Times: user=370.84 sys=3.05, real sec=30.65s] 2023-03-30T07:35:08.312+0000: [Full GC (Ergonomics) [PSYoungGen: 20646400K->20552578K(24681984K) ] [ParOldGen: 57435313K->57435312K(57435648K) ] 78081713K->77987890K(82117632K), [Metaspace: 242202K->242202K(260096K) ], 31.30289 secs] [Ìgbà: user=380.50 sys=2.90, gidi=31.30 secs] 2023-03-30T07:35:39.649+0000: [Full GC (Ergonomics) [PSYoungGen: 20646400K->20541558K(24681984K) ] [ParOldGen: 57435312K->57435297K(57435648K) ] 78081712K->77976855K(82117632K), [Metaspace: 242217K->242217K2600(96K) ], 31.4996226 secs [Times: user=384.32 sys=3.00, real sec=31.50s] 2023-03-30T07:36:11.199+0000: [Full GC (Ergonomics) [PSYoungGen: 20646400K->20562436K(24681984K) ] [ParOldGen: 57435297K->57435260K(57435648K) ] 78081697K->77997697K(82117632K), [Metaspace: 242238K->242238K(260096K) ], 31.1358920s] [Times: user=378.46 sys=3.00, real=31.14 secs]
1. Àwọn ohun tó ń ṣẹlẹ̀ Àkọsílẹ̀ náà ní àwọn iṣẹ́ GC 47 ní ààlà ìṣẹ́jú mẹ́rìndínlógójì láti aago méje àárọ̀ sí aago méje ààbọ̀ àárọ̀ ní ọjọ́ 30 oṣù kẹta ọdún 2023 UTC. Ìkejì. Àwọn iṣẹ́ GC bẹ̀rẹ̀ ní nǹkan bí ẹyọ kan ní ìṣẹ́jú kan tí ó sì máa ń gbà tó ìṣẹ́jú márùn-ún fún ọ̀kọ̀ọ̀kan wọn, ṣùgbọ́n lẹ́yìn 7:23 AM, wọ́n máa ń gba nǹkan bí ìṣẹ́jú ọ̀ọ̀kan ní ọ̀kọ̀ọ̀kan tí wọ́n sì máa ń wáyé lẹ́ẹ̀mejì ní ìṣẹ́jú kan. Ni awọn ọrọ miiran, ni ibẹrẹ, awọn iṣẹ GC gba ida kan kekere ti akoko JVM, lakoko ti nigbamii, wọn gba fere gbogbo akoko rẹ. Ìkẹta. Awọn iṣẹ GC ni akoko keji yii fa idinku diẹ ninu iwọn iranti lapapọ ati awọn agbegbe iranti PSYoungGen, ParOldGen, ati Metaspace. Ìwà yìí máa ń le gan-an lẹ́yìn aago 7:26:51 AM. 4. àwọn nǹkan mìíràn. Èyí fi hàn pé àkókò púpọ̀ ni wọ́n fi ṣe àwọn iṣẹ́ GC tí wọn kò sì rí àbájáde tó dára. Ìkarùn-ún. Apapọ iwọn iranti ni ibẹrẹ rọra dagba lati 49.5 GB si 52.3 GB, ṣugbọn ni akoko keji ti o pọju ni ayika 78 GB. Ìkẹfà. Iwọn iranti ti a pin ni a ṣeto ni 82 GB nigba akoko keji ti awọn iṣẹ GC, ti o tọka si opin ita. Ìsọ̀rí 7. Mo ṣeduro lati mu iranti ti o pọju ti a pin kọja opin 82 GB, ilọpo meji ti o ba ṣeeṣe, ati tun ṣiṣe JVM.