 À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-AfterSizeAllocatedSize  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.8000000: GC Allocation Failure PSYoungGen: 17197776K-2224032K21782528K  64496630K-49524856K79218176K, 3.2658630 secs Ìgbà: oníṣe4.53 sys0.00, gidi3.27 secs 2023-03-30T07:01:06.5530000: GC Allocation Failure PSYoungGen: 17471392K-2195300K22969344K  64772216K-49530782K80404992K, 3.3074224 secs Ìgbà: oníṣe4.63 sys0.00, gidi3.30 secs 2023-03-30T07:01:56.1290000: GC Allocation Failure PSYoungGen: 19045732K-2429792K22598656K  66381214K-49767742K 80034304K, 3.5912859 secs Ìgbà: oníṣe4.94 sys0.00, gidi3.59 secs 2023-03-30T07:02:46.0340000: GC Allocation Failure PSYoungGen: 19280224K-2428421K23520768K  66618174K-49768148K 80956416K, 3.6520001 secs Ìgbà: oníṣe5.07 sys0.03, gidi3.65 secs 2023-03-30T07:03:39.1300000: GC Allocation Failure PSYoungGen: 20488709K-2600800K23257088K  67828436K-49943004K80692736K, 3.8378192 secs Ìgbà: oníṣe5.19 sys0.00, gidi3.84 secs 2023-03-30T07:04:31.6340000: GC Allocation Failure PSYoungGen: 20661088K-2550592K23885312K  68003292K-49894476K81320960K, 3.7886199 secs Times: user5.15 sys0.00, real3.78 secs 2023-03-30T07:05:28.7840000: GC Allocation Failure PSYoungGen: 21416768K-2709510K23698432K  68760652K-50055163K81134080K, 3.9951697 secs Times: user5.54 sys0.00, real3.99 secs 2023-03-30T07:06:24.8570000: GC Allocation Failure PSYoungGen: 21575686K-2709696K24113664K  68921339K-50058933K81549312K, 4.0210395 secs Ìgbà: oníṣe5.47 sys0.01, gidi4.02 secs 2023-03-30T07:07:21.9910000: GC Allocation Failure PSYoungGen: 22106304K-2835749K24000512K  69455541K-50186794K81436160K, 4.0703042 secs Ìgbà: oníṣe5.76 sys0.00, gidi4.06 secs 2023-03-30T07:08:18.6680000: GC Allocation Failure PSYoungGen: 22232357K-2785312K24265216K  69583402K-50204626K81700864K, 4.1296625 secs Ìgbà: oníṣe5.77 sys0.00, gidi4.13 secs 2023-03-30T07:09:16.8910000: GC Allocation Failure PSYoungGen: 22510624K-2834405K24177664K  69929938K-50255520K81613312K, 4.2070487 secs Ìgbà: oníṣe5.89 sys0.01, gidi4.21 secs 2023-03-30T07:10:15.5530000: GC Allocation Failure PSYoungGen: 22559717K-2842896K24403456K  69980832K-50266688K81839104K, 4.2489383 secs Times: user5.83 sys0.02, real4.24 secs 2023-03-30T07:11:15.4120000: GC Allocation Failure PSYoungGen: 22863632K-2880069K24334848K  70287424K-50306742K81770496K, 4.2983311 secs Ìgbà: oníṣe6.01 sys0.00, gidi4.29 secs 2023-03-30T07:12:17.3300000: GC Allocation Failure PSYoungGen: 22900805K-2670097K24596992K  70327478K-50099432K82032640K, 3.9450690 secs Times: user5.44 sys0.00, real3.95 secs 2023-03-30T07:13:15.7130000: GC Allocation Failure PSYoungGen: 23009297K-2684375K24459776K  70438632K-50115773K81895424K, 3.9758416 secs Times: user5.53 sys0.00, real3.97 secs 2023-03-30T07:14:12.9390000: GC Allocation Failure PSYoungGen: 23023575K-2678912K24829952K  70454973K-50113093K82265600K, 3.9702778 secs Ìgbà: oníṣe5.52 sys0.00, gidi3.97 secs 2023-03-30T07:15:12.3430000: GC Allocation Failure PSYoungGen: 23508608K-2753575K24717312K  70942789K-50189628K82152960K, 4.0754481 secs Ìgbà: oníṣe5.72 sys0.00, gidi4.08 secs 2023-03-30T07:16:13.0260000: GC Allocation Failure PSYoungGen: 23583271K-2762097K24974336K  71019324K-50201762K82409984K, 4.1128461 secs Ìgbà: oníṣe5.66 sys0.00, gidi4.11 secs 2023-03-30T07:17:14.1290000: GC Allocation Failure PSYoungGen: 23924593K-2797957K24905728K  71364258K-50239629K82341376K, 4.1456776 secs Ìgbà: oníṣe5.74 sys0.01, gidi4.15 secs 2023-03-30T07:18:14.8570000: GC Allocation Failure PSYoungGen: 23960453K-2804721K25075712K  71402125K-50249103K82511360K, 4.1905285 secs Ìgbà: oníṣe5.73 sys0.01, gidi4.19 secs 2023-03-30T07:19:15.9790000: GC Allocation Failure PSYoungGen: 24189937K-3641846K25027072K  71634319K-51171235K82462720K, 3.6175882 secs Times: user5.94 sys0.00, real3.62 secs 2023-03-30T07:22:24.4840000: GC Allocation Failure PSYoungGen: 25027062K-3360979K24336896K  72556451K-52269877K81772544K, 0.4407322 secs Ìgbà: oníṣe5.66 sys0.00, gidi0.44 secs 2023-03-30T07:22:38.9740000: GC Allocation Failure PSYoungGen: 24007379K-4035567K24681984K  72916277K-57145380K82117632K, 0.8531910 secs Ìgbà: oníṣe10.80 sys0.23, gidi0.85 secs 2023-03-30T07:22:52.6660000: GC Allocation Failure PSYoungGen: 24677029K-24677029K24681984K  77786841K-82112670K 82117632K, 7.3509182 secs Ìgbà: oníṣe22.60 sys11.27, gidi7.35 secs 2023-03-30T07:23:00.0170000: Full GC Ergonomics PSYoungGen: 24677029K-0K24681984K  ParOldGen: 57435641K-57435322K57435648K  82112670K-57435322K82117632K, Metaspace: 241941K-241941K260096K , 26.4487596 secs Times: user313.82 sys2.44, real26.45 secs 2023-03-30T07:24:07.1860000: Full GC Ergonomics PSYoungGen: 20646400K-12427037K24681984K  ParOldGen: 57435322K-57435609K57435648K  78081722K-69862646K82117632K, Metaspace: 241947K-241947K260096K , 28.8675082 secs Times: user350.97 sys1.74, real28.87 secs 2023-03-30T07:24:36.0570000: Full GC System.gc  PSYoungGen: 12730000K-12427055K-24681984K  ParOldGen: 57435609K-57435556K-57435648K  70165609K-69862611K-82117632K, Metaspace: 241947K-241947K-260096K, 31.3736816 secs Ìgbà: user379.38 sys2.94, gidi31.37 secs 2023-03-30T07:25:18.0960000: Full GC Ergonomics PSYoungGen: 20646400K-16985330K24681984K  ParOldGen: 57435556K-57435308K57435648K  78081956K-74420638K82117632K, Metaspace: 241999K-241999K260096K , 31.4762980s Times: user363.38 sys3.10, real31.48 secs 2023-03-30T07:25:54.5370000: Full GC Ergonomics PSYoungGen: 20646400K-19116969K24681984K  ParOldGen: 57435308K-57435152K57435648K  78081708K-76552122K82117632K, Metaspace: 241999K-241999K260096K , 31.0418139 secs Times: user377.34 sys2.75, real31.04 secs 2023-03-30T07:26:27.4870000: Full GC Ergonomics PSYoungGen: 20646400K-19955901K24681984K  ParOldGen: 57435152K-57435290K57435648K  78081552K-77391191K82117632K, Metaspace: 241999K-241999K260096K , 22.9475977 secs Ìgbà: user280.80 sys1.57, gidi22.95 secs 2023-03-30T07:26:51.3190000: Full GC Ergonomics PSYoungGen: 20646400K-20340549K24681984K  ParOldGen: 57435290K-57435523K57435648K  78081690K-77776072K82117632K, Metaspace: 242004K-242004K260096K , 37.25643 secs Ìgbà: user458.29 sys3.35, gidi37.26 secs 2023-03-30T07:27:28.8920000: Full GC Ergonomics PSYoungGen: 20646400K-20465997K24681984K  ParOldGen: 57435523K-57435230K57435648K  78081923K-77901227K82117632K, Metaspace: 242007K-242007K260096K , 31.4213545 secs Times: user382.65 sys2.74, real31.42 secs 2023-03-30T07:28:00.3500000: Full GC Ergonomics PSYoungGen: 20646400K-20492397K24681984K  ParOldGen: 57435230K-57435139K57435648K  78081630K-77927536K82117632K, Metaspace: 24K2011-201124K260096K , 17.3069966 secs Ìgbà: user209.34 sys0.45, gidi17.31 secs 2023-03-30T07:28:17.6940000: Full GC Ergonomics PSYoungGen: 20639999K-20482496K24681984K  ParOldGen: 57435139K-57435581K57435648K  78075138K-77918078K82117632K, Metaspace: 242023K-242023K260096K , 39.0253664 secs Times: user478.37 sys3.87, real39.02 secs 2023-03-30T07:28:56.7520000: Full GC Ergonomics PSYoungGen: 20629482K-20490559K24681984K  ParOldGen: 57435581K-57435269K57435648K  78065064K-77925828K82117632K, Metaspace: 242023K-242023K260096K , 32.7146380s Times: user398.86 sys2.93, real32.71 secs 2023-03-30T07:29:29.5920000: Full GC Ergonomics PSYoungGen: 20627596K-20498740K24681984K  ParOldGen: 57435269K-57435482K57435648K  78062865K-77934223K82117632K, Metaspace: 242029K-242029K260096K , 39.9805382 secs Times user491.39 sys4.10, real39.98 secs 2023-03-30T07:30:09.6180000: Full GC Ergonomics PSYoungGen: 20646400K-20529006K24681984K  ParOldGen: 57435482K-57435402K57435648K  78081882K-77964408K82117632K, Metaspace: 242038K-242038K260096K , 31.3632706 secs Times: user382.46 sys2.74, real31.36 secs 2023-03-30T07:30:41.0120000: Full GC Ergonomics PSYoungGen: 20646400K-20535638K24681984K  ParOldGen: 57435402K-57435345K57435648K  78081802K-77970983K82117632K, Metaspace: 242053K-242053K260096K , 31.0060106 secs Ìgbà: user377.25 sys2.72, gidi31.00 secs 2023-03-30T07:31:12.0220000: Full GC Ergonomics PSYoungGen: 20646400K-20535719K24681984K  ParOldGen: 57435345K-57435297K57435648K  78081745K-77971016K82117632K, Metaspace: 242053K-242053K260096K , 31.1714473 sec Times: user380.42 sys2.74, real31.18 sec 2023-03-30T07:31:43.2150000: Full GC Ergonomics PSYoungGen: 20646400K-20536490K24681984K  ParOldGen: 57435297K-57435275K57435648K  78081697K-77971766K82117632K, Metaspace: 242061K-242061K260096K , 30.9676462s Times: user377.19 sys2.88, real30.96 secs 2023-03-30T07:32:14.2160000: Full GC Ergonomics PSYoungGen: 20646400K-20537679K24681984K  ParOldGen: 57435275K-57435244K57435648K  78081675K-77972923K82117632K, Metaspace: 242081K-242081K260096K , 31.2592798 secs Times: user379.77 sys3.04, real31.26 secs 2023-03-30T07:32:45.5320000: Full GC Ergonomics PSYoungGen: 20646400K-20518698K24681984K  ParOldGen: 57435244K-57435465K57435648K  78081644K-77954164K82117632K, Metaspace: 242123K-242123K260096K , 38.9523351 secs Times user:478.26 sys4.04, real38.95 secs 2023-03-30T07:33:45.1390000: Full GC Ergonomics PSYoungGen: 20627835K-20519977K24681984K  ParOldGen: 57435465K-57435334K57435648K  78063301K-77955311K82117632K, Metaspace: 242185K-242185K260096K , 31.8680480 secs Times user: 388.66 sys2.88, real31.87 secs 2023-03-30T07:34:17.0450000: Full GC Ergonomics PSYoungGen: 20646400K-20529987K24681984K  ParOldGen: 57435334K-57435313K57435648K  78081734K-77965301K82117632K, Metaspace: 242185K-242185K260096K , 30.6528436 secs Times: user370.84 sys3.05, real sec30.65s 2023-03-30T07:35:08.3120000: Full GC Ergonomics PSYoungGen: 20646400K-20552578K24681984K  ParOldGen: 57435313K-57435312K57435648K  78081713K-77987890K82117632K, Metaspace: 242202K-242202K260096K , 31.30289 secs Ìgbà: user380.50 sys2.90, gidi31.30 secs 2023-03-30T07:35:39.6490000: Full GC Ergonomics PSYoungGen: 20646400K-20541558K24681984K  ParOldGen: 57435312K-57435297K57435648K  78081712K-77976855K82117632K, Metaspace: 242217K-242217K260096K , 31.4996226 secs Times: user384.32 sys3.00, real sec31.50s 2023-03-30T07:36:11.1990000: Full GC Ergonomics PSYoungGen: 20646400K-20562436K24681984K  ParOldGen: 57435297K-57435260K57435648K  78081697K-77997697K82117632K, Metaspace: 242238K-242238K260096K , 31.1358920s Times: user378.46 sys3.00, real31.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. 