[ 
https://issues.apache.org/jira/browse/BIGTOP-979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13652714#comment-13652714
 ] 

Andrew Purtell commented on BIGTOP-979:
---------------------------------------

The location where heap dumps are written should be configurable, specifiable 
in /etc/defaults/$service, and should be disabled by default.
                
> Add hprof dump settings on OOM to all JVMs started by bigtop scripts
> --------------------------------------------------------------------
>
>                 Key: BIGTOP-979
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-979
>             Project: Bigtop
>          Issue Type: Bug
>          Components: Init scripts
>            Reporter: Alejandro Abdelnur
>
> Run into the following while doing some troubleshooting:
> ------
> If you run your application with the VM flag -XX:+HeapDumpOnOutOfMemoryError 
> a heap dump is written on the first Out Of Memory Error. There is no overhead 
> involved unless a OOM actually occurs. This flag is a must for production 
> systems as it is often the only way to further analyze the problem.
> ------
> IMO, it would be good if we get all startup scripts add this option to the 
> java calls.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to