Java -XXSoftMaxHeapSize Flag

-XX:SoftMaxHeapSize=<bytes>  it only has an effect when the Z garbage collector is enabled
(-XX:+UseZGC).

 The GC decides it's necessary to do so to avoid OutOfMemoryError. The soft max heap size is not allowed to be set to a value greater than the maximum heap size (-Xmx). When not set on the command line, it defaults to a value equal to the maximum heap size.


Comments

Popular posts from this blog

Today Walkin 14th-Sept

Hibernate Search - Elasticsearch with JSON manipulation

Spring Elasticsearch Operations