oers opened a new issue, #9614:
URL: https://github.com/apache/netbeans/issues/9614

   ### Description
   
   Currently 
(https://github.com/apache/netbeans/blob/915296a97f2327153d3ad87c9fef2d0bc8586fbb/platform/o.n.bootstrap/launcher/unix/nbexec#L219)
 
   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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to