The application has a heap of 8gb and creates a lot of short living objects These are the most commonly used options that are supported by all implementations of the jvm. I noticed that it often paused for some seconds to do garbage collection
Cardi B Responds After Her XX Photos Get Leaked - YouTube
Sizes are expressed in bytes
Append the letter k or k to indicate kilobytes, m or m to indicate megabytes, g or g to indicate gigabytes
How is the java memory pool divided? By default, the size isn't limited The amount of metadata for an application depends on the application itself, other running applications, and the amount of memory available on the system. Since we are getting java.lang.outofmemoryerror
As already noted, this helps size thread pools but does not impose any hard limit on the number of cpu cores that can be used. Do you load many different classes dynamically Then you could maybe define a free ratio on the metaspace so that always enough space for new classes is available and no resizing will be needed in critical situations. You have distinct categories of jvm arguments