You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jörn Kottmann (JIRA)" <de...@uima.apache.org> on 2010/06/02 16:19:38 UTC
[jira] Closed: (UIMA-1789) deployAsyncService script should use
-XX:+HeapDumpOnOutOfMemoryError
[ https://issues.apache.org/jira/browse/UIMA-1789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jörn Kottmann closed UIMA-1789.
-------------------------------
Resolution: Won't Fix
Enabling the -XX:+HeapDumpOnOutOfMemoryError option by default will not work on all VMs. Enabling this feature also might confuse users which do not expect a memory dump, especially during testing/development of an AE where OOME might occur frequently.
For everyone who wants to enable this option set the following environment variable:
UIMA_JVM_OPTS=-XX:+HeapDumpOnOutOfMemoryError
Depending on the situation it is useful to diagnose memory leaks in a production environment.
> deployAsyncService script should use -XX:+HeapDumpOnOutOfMemoryError
> --------------------------------------------------------------------
>
> Key: UIMA-1789
> URL: https://issues.apache.org/jira/browse/UIMA-1789
> Project: UIMA
> Issue Type: Improvement
> Components: Async Scaleout
> Reporter: Jörn Kottmann
> Priority: Minor
>
> In case a user application needs to much memory an OuOfMemoryError stops the UIMA AS service. It would
> be nice if the VM would just dump the memory for further analysis and stops afterwards.
> For a sun vm this can be achieved with this command line option:
> -XX:+HeapDumpOnOutOfMemoryError
> Can this be done in our script, does it also work with other VMs ?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.