Forum Stats

  • 3,727,590 Users
  • 2,245,414 Discussions
  • 7,852,884 Comments

Discussions

7 JVM Arguments of Highly effective applications

JimTerry
JimTerry Member Posts: 23 Red Ribbon

You can pass 600+ arguments to JVM just around Garbage collection and memory. It’s way too many arguments for anyone to digest and comprehend. In all these 4 videos, 7 important JVM arguments that will boost your Java/Scala/Jython application performances are shared.

Videos

Part 1

Part – 1 explains the below arguments.

  • The maximum heap size (-Xmx) &
  • MaxMetaSpaceSize (-XX:MaxMetaspaceSize)


Part 2

In this part, thread stack size (-Xss) is discussed in detail.

In this part, the arguments related to Garbage collection are explained.

  • GC Algorithm
  • Enable GC Logging



Part 3

In this part, the arguments related to Garbage collection are explained.

  • GC Algorithm
  • Enable GC Logging

Part 4

This part explains about the timeout settings and OutOfMemoryError related JVM Arguments.

  • -Dsun.net.client.defaultConnectTimeout and -Dsun.net.client.defaultReadTimeout
  •  -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath



Sign In or Register to comment.