jdk/9/all/181/binaries/linux-x64/bin/java -Xmx192m -Xlog:gc Test [0.499s][info][gc] Using G1 round #0 [1.676s][info][gc] GC(0) Pause Young (G1 Evacuation Pause) 61M->40M(192M) 560.172ms [2.610s][info][gc] GC(1) Pause Young (G1 Evacuation Pause) 88M->80M(192M) 912.780ms [2.672s][info][gc] GC(2) Pause Initial Mark (G1 Humongous Allocation) 89M->86M(192M) 58.285ms [2.673s][info][gc] GC(3) Concurrent Cycle [2.700s][info][gc] GC(3) Pause Remark 128M->128M(192M) 2.117ms [2.702s][info][gc] GC(3) Pause Cleanup 134M->83M(192M) 0.387ms [2.750s][info][gc] GC(4) Pause Young (G1 Evacuation Pause) 132M->125M(192M) 18.249ms [2.753s][info][gc] GC(3) Concurrent Cycle 80.977ms [2.772s][info][gc] GC(5) Pause Initial Mark (G1 Humongous Allocation) 144M->139M(192M) 16.202ms [2.772s][info][gc] GC(6) Concurrent Cycle [2.817s][info][gc] GC(7) Pause Young (G1 Humongous Allocation) 190M->186M(192M) 24.860ms [2.818s][info][gc] GC(8) Pause Young (G1 Humongous Allocation) 188M->188M(192M) 0.726ms [2.926s][info][gc] GC(9) Pause Full (Allocation Failure) 188M->61M(192M) 107.429ms [2.926s][info][gc] GC(6) Concurrent Cycle 153.783ms [2.950s][info][gc] GC(10) Pause Initial Mark (G1 Humongous Allocation) 87M->87M(192M) 19.686ms [2.950s][info][gc] GC(11) Concurrent Cycle [3.039s][info][gc] GC(12) Pause Young (G1 Humongous Allocation) 165M->165M(192M) 15.947ms [3.230s][info][gc] GC(13) Pause Full (Allocation Failure) 165M->54M(182M) 190.450ms [3.231s][info][gc] GC(11) Concurrent Cycle 280.330ms [3.263s][info][gc] GC(14) Pause Initial Mark (G1 Humongous Allocation) 84M->84M(182M) 24.155ms [3.264s][info][gc] GC(15) Concurrent Cycle [3.333s][info][gc] GC(16) Pause Young (G1 Humongous Allocation) 124M->124M(182M) 3.851ms [3.504s][info][gc] GC(17) Pause Full (Allocation Failure) 124M->64M(192M) 170.382ms [3.504s][info][gc] GC(15) Concurrent Cycle 240.444ms round #1 [3.563s][info][gc] GC(18) Pause Initial Mark (G1 Humongous Allocation) 107M->104M(192M) 6.167ms [3.563s][info][gc] GC(19) Concurrent Cycle [3.577s][info][gc] GC(19) Pause Remark 146M->146M(192M) 1.276ms [3.650s][info][gc] GC(20) Pause Young (G1 Evacuation Pause) 152M->139M(192M) 70.302ms [3.695s][info][gc] GC(21) Pause Young (G1 Evacuation Pause) 173M->165M(192M) 35.480ms [3.697s][info][gc] GC(19) Pause Cleanup 171M->69M(192M) 0.350ms [3.700s][info][gc] GC(19) Concurrent Cycle 137.817ms [3.717s][info][gc] GC(22) Pause Initial Mark (G1 Humongous Allocation) 87M->86M(192M) 9.934ms [3.717s][info][gc] GC(23) Concurrent Cycle [3.776s][info][gc] GC(24) Pause Young (G1 Humongous Allocation) 187M->174M(192M) 16.727ms [3.784s][info][gc] GC(25) Pause Young (G1 Humongous Allocation) 186M->184M(192M) 6.774ms [3.862s][info][gc] GC(26) Pause Full (Allocation Failure) 184M->48M(162M) 77.097ms [3.862s][info][gc] GC(23) Concurrent Cycle 144.629ms [3.886s][info][gc] GC(27) Pause Initial Mark (G1 Humongous Allocation) 75M->72M(162M) 21.485ms [3.886s][info][gc] GC(28) Concurrent Cycle [3.962s][info][gc] GC(29) Pause Young (G1 Humongous Allocation) 177M->172M(185M) 12.244ms [4.047s][info][gc] GC(30) Pause Full (Allocation Failure) 172M->51M(172M) 84.346ms [4.047s][info][gc] GC(28) Concurrent Cycle 160.764ms [4.062s][info][gc] GC(31) Pause Initial Mark (G1 Humongous Allocation) 76M->76M(172M) 12.797ms [4.062s][info][gc] GC(32) Concurrent Cycle [4.108s][info][gc] GC(33) Pause Young (G1 Humongous Allocation) 116M->116M(172M) 17.164ms [4.221s][info][gc] GC(34) Pause Full (Allocation Failure) 116M->71M(192M) 110.557ms [4.222s][info][gc] GC(32) Concurrent Cycle 159.890ms [4.253s][info][gc] GC(35) Pause Initial Mark (G1 Humongous Allocation) 91M->91M(192M) 13.450ms [4.254s][info][gc] GC(36) Concurrent Cycle [4.307s][info][gc] GC(36) Pause Remark 150M->150M(192M) 1.120ms round #2 [4.308s][info][gc] GC(36) Pause Cleanup 151M->101M(192M) 0.291ms [4.309s][info][gc] GC(36) Concurrent Cycle 55.241ms [4.332s][info][gc] GC(37) Pause Initial Mark (G1 Humongous Allocation) 104M->101M(192M) 22.908ms [4.332s][info][gc] GC(38) Concurrent Cycle [4.347s][info][gc] GC(38) Pause Remark 154M->154M(192M) 0.818ms [4.349s][info][gc] GC(38) Pause Cleanup 156M->57M(192M) 0.331ms [4.350s][info][gc] GC(38) Concurrent Cycle 18.033ms [4.687s][info][gc] GC(39) Pause Initial Mark (G1 Humongous Allocation) 109M->86M(192M) 309.915ms [4.687s][info][gc] GC(40) Concurrent Cycle [6.215s][info][gc] GC(41) Pause Young (G1 Evacuation Pause) 171M->162M(192M) 1482.643ms [6.314s][info][gc] GC(42) To-space exhausted [6.314s][info][gc] GC(42) Pause Young (G1 Humongous Allocation) 190M->185M(192M) 90.452ms [6.428s][info][gc] GC(43) Pause Young (G1 Humongous Allocation) 189M->189M(192M) 112.886ms [6.508s][info][gc] GC(44) Pause Full (Allocation Failure) 189M->51M(171M) 79.839ms [6.509s][info][gc] GC(40) Concurrent Cycle 1821.259ms [6.531s][info][gc] GC(45) Pause Initial Mark (G1 Humongous Allocation) 75M->75M(171M) 18.586ms [6.531s][info][gc] GC(46) Concurrent Cycle [6.602s][info][gc] GC(47) Pause Young (G1 Humongous Allocation) 169M->167M(181M) 13.348ms [6.705s][info][gc] GC(48) Pause Full (Allocation Failure) 167M->61M(191M) 101.274ms [6.707s][info][gc] GC(46) Concurrent Cycle 175.942ms [6.731s][info][gc] GC(49) Pause Initial Mark (G1 Humongous Allocation) 91M->91M(191M) 13.256ms [6.731s][info][gc] GC(50) Concurrent Cycle [6.772s][info][gc] GC(51) Pause Young (G1 Humongous Allocation) 131M->131M(191M) 16.575ms [6.909s][info][gc] GC(52) Pause Full (Allocation Failure) 131M->78M(192M) 133.909ms [6.909s][info][gc] GC(50) Concurrent Cycle 178.219ms [6.945s][info][gc] GC(53) Pause Initial Mark (G1 Humongous Allocation) 98M->98M(192M) 12.315ms [6.945s][info][gc] GC(54) Concurrent Cycle [6.977s][info][gc] GC(55) Pause Young (G1 Humongous Allocation) 118M->118M(192M) 10.472ms [7.151s][info][gc] GC(56) Pause Full (Allocation Failure) 118M->76M(192M) 173.493ms [7.152s][info][gc] GC(54) Concurrent Cycle 206.119ms round #3 [7.214s][info][gc] GC(57) Pause Initial Mark (G1 Humongous Allocation) 117M->115M(192M) 10.797ms [7.214s][info][gc] GC(58) Concurrent Cycle [7.278s][info][gc] GC(59) Pause Young (G1 Evacuation Pause) 137M->130M(192M) 57.164ms [7.409s][info][gc] GC(60) Pause Young (G1 Evacuation Pause) 169M->161M(192M) 114.816ms [7.537s][info][gc] GC(61) Pause Young (G1 Humongous Allocation) 184M->180M(192M) 120.691ms [7.577s][info][gc] GC(62) To-space exhausted [7.577s][info][gc] GC(62) Pause Young (G1 Humongous Allocation) 190M->190M(192M) 36.439ms [7.629s][info][gc] GC(63) Pause Full (Allocation Failure) 190M->29M(99M) 51.158ms [7.629s][info][gc] GC(58) Pause Remark 32M->32M(99M) 0.001ms [7.629s][info][gc] GC(58) Concurrent Cycle 414.848ms [7.646s][info][gc] GC(64) Pause Initial Mark (G1 Humongous Allocation) 46M->43M(99M) 11.476ms [7.646s][info][gc] GC(65) Concurrent Cycle [7.685s][info][gc] GC(66) Pause Young (G1 Evacuation Pause) 99M->93M(138M) 11.768ms [7.718s][info][gc] GC(67) Pause Young (G1 Evacuation Pause) 140M->136M(143M) 14.387ms [7.735s][info][gc] GC(68) Pause Young (G1 Evacuation Pause) 155M->153M(158M) 11.413ms [7.740s][info][gc] GC(69) Pause Young (G1 Evacuation Pause) 163M->162M(166M) 1.757ms [7.757s][info][gc] GC(70) Pause Young (G1 Evacuation Pause) 183M->181M(185M) 5.319ms [7.760s][info][gc] GC(65) Pause Remark 182M->182M(185M) 1.365ms [7.773s][info][gc] GC(71) Pause Young (G1 Evacuation Pause) 185M->184M(189M) 10.351ms [7.775s][info][gc] GC(72) Pause Young (G1 Humongous Allocation) 184M->184M(189M) 1.997ms [7.890s][info][gc] GC(73) Pause Full (Allocation Failure) 184M->52M(176M) 114.173ms [7.891s][info][gc] GC(65) Pause Cleanup 64M->64M(176M) 0.003ms [7.892s][info][gc] GC(65) Concurrent Cycle 245.257ms [7.920s][info][gc] GC(74) Pause Initial Mark (G1 Humongous Allocation) 73M->73M(176M) 23.924ms [7.920s][info][gc] GC(75) Concurrent Cycle [7.982s][info][gc] GC(76) Pause Young (G1 Humongous Allocation) 162M->161M(176M) 17.761ms [8.109s][info][gc] GC(77) Pause Full (Allocation Failure) 161M->87M(186M) 126.549ms [8.126s][info][gc] GC(75) Concurrent Cycle 206.142ms [8.146s][info][gc] GC(78) Pause Initial Mark (G1 Humongous Allocation) 122M->122M(186M) 12.391ms [8.146s][info][gc] GC(79) Concurrent Cycle [8.189s][info][gc] GC(80) Pause Young (G1 Humongous Allocation) 162M->162M(192M) 11.593ms [8.351s][info][gc] GC(81) Pause Full (Allocation Failure) 162M->81M(192M) 161.787ms [8.352s][info][gc] GC(79) Concurrent Cycle 205.630ms round #4 [8.403s][info][gc] GC(82) Pause Initial Mark (G1 Humongous Allocation) 122M->120M(192M) 14.219ms [8.403s][info][gc] GC(83) Concurrent Cycle [8.410s][info][gc] GC(83) Pause Remark 156M->156M(192M) 0.780ms [8.412s][info][gc] GC(83) Pause Cleanup 160M->41M(192M) 0.307ms [8.413s][info][gc] GC(83) Concurrent Cycle 9.527ms [8.635s][info][gc] GC(84) Pause Initial Mark (G1 Humongous Allocation) 109M->85M(192M) 187.643ms [8.635s][info][gc] GC(85) Concurrent Cycle [9.081s][info][gc] GC(86) Pause Young (G1 Evacuation Pause) 151M->143M(192M) 424.752ms [9.901s][info][gc] GC(87) Pause Young (G1 Humongous Allocation) 185M->180M(192M) 810.010ms [10.229s][info][gc] GC(88) Pause Young (G1 Humongous Allocation) 187M->184M(192M) 325.819ms [10.304s][info][gc] GC(89) To-space exhausted [10.304s][info][gc] GC(89) Pause Young (G1 Humongous Allocation) 190M->189M(192M) 74.265ms [10.414s][info][gc] GC(90) Pause Young (G1 Humongous Allocation) 190M->190M(192M) 106.958ms [10.489s][info][gc] GC(91) Pause Full (Allocation Failure) 190M->50M(169M) 75.178ms [10.489s][info][gc] GC(85) Concurrent Cycle 1854.354ms [10.491s][info][gc] GC(92) Pause Initial Mark (G1 Humongous Allocation) 53M->53M(179M) 0.976ms [10.491s][info][gc] GC(93) Concurrent Cycle [10.563s][info][gc] GC(93) Pause Remark 170M->170M(184M) 1.044ms [10.580s][info][gc] GC(94) Pause Young (G1 Humongous Allocation) 170M->168M(184M) 16.698ms [10.689s][info][gc] GC(95) Pause Full (Allocation Failure) 168M->59M(192M) 107.487ms [10.689s][info][gc] GC(93) Concurrent Cycle 198.049ms [10.720s][info][gc] GC(96) Pause Initial Mark (G1 Humongous Allocation) 84M->84M(192M) 15.520ms [10.720s][info][gc] GC(97) Concurrent Cycle [10.761s][info][gc] GC(98) Pause Young (G1 Humongous Allocation) 124M->124M(192M) 14.346ms [10.876s][info][gc] GC(99) Pause Full (Allocation Failure) 124M->56M(188M) 114.297ms [10.876s][info][gc] GC(97) Concurrent Cycle 155.538ms [10.906s][info][gc] GC(100) Pause Initial Mark (G1 Humongous Allocation) 76M->76M(188M) 15.846ms [10.906s][info][gc] GC(101) Concurrent Cycle [10.936s][info][gc] GC(102) Pause Young (G1 Humongous Allocation) 96M->96M(188M) 14.588ms [11.066s][info][gc] GC(103) Pause Full (Allocation Failure) 96M->76M(192M) 129.028ms [11.066s][info][gc] GC(101) Concurrent Cycle 159.834ms round #5 [11.117s][info][gc] GC(104) Pause Initial Mark (G1 Humongous Allocation) 121M->117M(192M) 9.096ms [11.118s][info][gc] GC(105) Concurrent Cycle [11.151s][info][gc] GC(106) Pause Young (G1 Evacuation Pause) 147M->139M(192M) 28.409ms [11.202s][info][gc] GC(107) Pause Young (G1 Humongous Allocation) 189M->182M(192M) 37.170ms [11.208s][info][gc] GC(108) To-space exhausted [11.208s][info][gc] GC(108) Pause Young (G1 Humongous Allocation) 189M->189M(192M) 4.803ms [11.254s][info][gc] GC(109) Pause Full (Allocation Failure) 189M->28M(94M) 45.595ms [11.254s][info][gc] GC(105) Concurrent Cycle 136.363ms [11.268s][info][gc] GC(110) Pause Initial Mark (G1 Humongous Allocation) 43M->41M(94M) 9.821ms [11.268s][info][gc] GC(111) Concurrent Cycle [11.299s][info][gc] GC(112) Pause Young (G1 Evacuation Pause) 94M->88M(97M) 17.560ms [11.311s][info][gc] GC(113) Pause Young (G1 Evacuation Pause) 106M->103M(143M) 7.697ms [11.344s][info][gc] GC(114) Pause Young (G1 Evacuation Pause) 145M->140M(149M) 10.338ms [11.347s][info][gc] GC(111) Pause Remark 146M->146M(151M) 1.070ms [11.350s][info][gc] GC(111) Pause Cleanup 157M->144M(161M) 0.218ms [11.351s][info][gc] GC(111) Concurrent Cycle 82.909ms [11.366s][info][gc] GC(115) Pause Initial Mark (G1 Humongous Allocation) 147M->146M(161M) 14.618ms [11.366s][info][gc] GC(116) Concurrent Cycle [11.404s][info][gc] GC(117) Pause Young (G1 Humongous Allocation) 189M->186M(192M) 16.340ms [11.412s][info][gc] GC(118) Pause Young (G1 Humongous Allocation) 189M->189M(192M) 6.531ms [11.419s][info][gc] GC(119) Pause Young (G1 Humongous Allocation) 189M->189M(192M) 5.022ms [11.420s][info][gc] GC(120) Pause Young (G1 Humongous Allocation) 189M->189M(192M) 0.742ms [11.505s][info][gc] GC(121) Pause Full (Allocation Failure) 189M->47M(159M) 84.818ms [11.505s][info][gc] GC(116) Concurrent Cycle 138.872ms [11.530s][info][gc] GC(122) Pause Initial Mark (G1 Humongous Allocation) 64M->64M(159M) 17.811ms [11.530s][info][gc] GC(123) Concurrent Cycle [11.599s][info][gc] GC(124) Pause Young (G1 Humongous Allocation) 154M->153M(169M) 23.532ms [11.604s][info][gc] GC(123) Pause Remark 163M->163M(169M) 3.319ms [11.606s][info][gc] GC(123) Pause Cleanup 163M->161M(169M) 0.237ms [11.606s][info][gc] GC(123) Concurrent Cycle 75.806ms [11.623s][info][gc] GC(125) Pause Initial Mark (G1 Humongous Allocation) 161M->161M(179M) 14.499ms [11.623s][info][gc] GC(126) Concurrent Cycle [11.624s][info][gc] GC(127) Pause Young (G1 Humongous Allocation) 161M->161M(179M) 0.341ms [11.728s][info][gc] GC(128) Pause Full (Allocation Failure) 161M->51M(171M) 104.075ms [11.728s][info][gc] GC(126) Concurrent Cycle 105.071ms [11.746s][info][gc] GC(129) Pause Initial Mark (G1 Humongous Allocation) 61M->61M(171M) 13.637ms [11.746s][info][gc] GC(130) Concurrent Cycle [11.792s][info][gc] GC(131) Pause Young (G1 Humongous Allocation) 101M->101M(171M) 25.443ms [11.921s][info][gc] GC(132) Pause Full (Allocation Failure) 101M->81M(192M) 128.442ms [12.046s][info][gc] GC(133) Pause Full (Allocation Failure) 81M->81M(192M) 124.727ms [12.046s][info][gc] GC(130) Concurrent Cycle 299.984ms Exception in thread "main" java.lang.OutOfMemoryError at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488) at java.base/java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:590) at java.base/java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:668) at java.base/java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:726) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateParallel(ReduceOps.java:919) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233) at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:511) at Test.main(Test.java:17) Caused by: java.lang.OutOfMemoryError: Java heap space at java.base/java.util.Arrays.copyOf(Arrays.java:3719) at java.base/java.util.Arrays.copyOf(Arrays.java:3688) at java.base/java.util.ArrayList.grow(ArrayList.java:236) at java.base/java.util.ArrayList.addAll(ArrayList.java:606) at java.base/java.util.stream.Collectors.lambda$toList$4(Collectors.java:277) at java.base/java.util.stream.Collectors$$Lambda$4/1792845110.apply(Unknown Source) at java.base/java.util.stream.ReduceOps$3ReducingSink.combine(ReduceOps.java:174) at java.base/java.util.stream.ReduceOps$3ReducingSink.combine(ReduceOps.java:160) at java.base/java.util.stream.ReduceOps$ReduceTask.onCompletion(ReduceOps.java:959) at java.base/java.util.concurrent.CountedCompleter.tryComplete(CountedCompleter.java:593) at java.base/java.util.stream.AbstractTask.compute(AbstractTask.java:317) at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:747) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:283) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1603) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175)