UseConcMarkSweepGC vs UseParallelGC

前端 未结 4 1432
忘了有多久
忘了有多久 2021-01-31 04:13

I\'m currently having problems with very long garbage collection times. please see the followig. My current setup is that I\'m using a -Xms1g and -Xmx3g. my application is using

4条回答
  •  我在风中等你
    2021-01-31 04:32

    Since you have extremenly long GC pauses, it's don't think that changing GC algorithm would help.

    Note that it's highly suspicious that you have only full collections. Perhaps you need to increase the size of young generation and/or survivor space.

    See also:

    • Tuning Garbage Collection with the 1.4.2 Java[tm] Virtual Machine

提交回复
热议问题