Skip to content

Allow for disabling Heapdumps via netbeans.exe #9614

Description

@oers

Description

Currently (

jargs="$jargs -XX:+HeapDumpOnOutOfMemoryError"
)
the java args ALWAYS contain the HeapDump option at the end

jargs="$jargs -XX:+HeapDumpOnOutOfMemoryError"

It would be great to disable this by setting
-XX:-HeapDumpOnOutOfMemoryError in the options file.

Setting -J-XX:HeapDumpPath=NUL in the options may work, but this behaviour does not seem consistent and disabling HeapDumps alltogether would be great.

Use case/motivation

I want to be able to disable heapdumps, we use the Netbeans Platform for a custom product. Our HeapDumps coulde be VERY Large and we don't want them to be created altogether.

Related issues

No response

Are you willing to submit a pull request?

No

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Contribution welcomeAn issue or feature not currently being worked on, but a contribution would be welcomed!Platform[ci] enable platform tests (platform/*)kind:featureA feature request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions