Skip to content

Question: Why is -XX:MaxDirectMemorySize set to 10M by default? #50

Closed
@postalservice14

Description

@postalservice14

Just curious the reasoning behind setting -XX:MaxDirectMemorySize to 10M by default? It seems the Java default is to set it to max memory. 10M as a default is quite a bit different than max memory.

A couple references:

JDK https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/jdk/internal/misc/VM.java#L262

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions