UseConcMarkSweepGC vs UseParallelGC

前端 未结 4 1396
忘了有多久
忘了有多久 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:17

    If you have high survival rate, your heap may be too large. The larger the heap, the longer the JVM can go without GC'ing, so once it hits, it has so much more to move around.

提交回复
热议问题