gc日志图是什么意思?

uinbv5nw  于 2021-07-03  发布在  Java
关注(0)|答案(0)|浏览(276)

这是图表

我在日志文件的末尾也有这个

2601.692: [Full GC (Ergonomics) [PSYoungGen: 379102K->0K(2799104K)] [ParOldGen: 6821274K->3862331K(6774272K)] 7200377K->3862331K(9573376K), [Metaspace: 40830K->40830K(1087488K)], 0.4856957 secs] [Times: user=4.59 sys=0.02, real=0.48 secs] 
2602.835: [GC (Allocation Failure) [PSYoungGen: 2419712K->56704K(2930688K)] 6282043K->3919035K(9704960K), 0.0085938 secs] [Times: user=0.20 sys=0.00, real=0.02 secs]
Heap
   PSYoungGen total 2930688K, used 2130522K [0x00000006eab00000, 0x00000007c0000000, 0x00000007c0000000)
   eden space 2370560K, 87% used [0x00000006eab00000,0x0000000769436bf0,0x000000077b600000)
   from space 560128K, 10% used [0x000000079dd00000,0x00000007a1460000,0x00000007c0000000)
   to space 562176K, 0% used [0x000000077b600000,0x000000077b600000,0x000000079db00000)
   ParOldGen total 6774272K, used 3862331K [0x0000000540000000, 0x00000006dd780000, 0x00000006eab00000)
   object space 6774272K, 57% used [0x0000000540000000,0x000000062bbced40,0x00000006dd780000)
   Metaspace used 44005K, capacity 45394K, committed 45736K, reserved 1089536K
   class space used 5210K, capacity 5519K, committed 5544K, reserved 1048576K

下一个例外是:

Caused by: java.lang.OutOfMemoryError: Java heap space

我能从中得到更多的信息吗,除了在某个时刻程序会创建很多对象之外?有什么办法解决这个问题吗

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题