Chander Shivdasani
Chander Shivdasani

Reputation: 10131

Difference between XX:MaxDirectMemorySize, Xmx,XX:JavaMemMax

The subject line pretty much sums up my question.

Upvotes: 5

Views: 5674

Answers (1)

Oliver Charlesworth
Oliver Charlesworth

Reputation: 272657

  • XX:MaxDirectMemorySize:

    This option specifies the maximum total size of java.nio (New I/O package) direct buffer allocations.

  • Xmx:

    The -Xmx option sets the maximum Java heap size.

  • XX:JavaMemMax - Is this a thing?

Upvotes: 10

Related Questions