uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörn Kottmann (JIRA) <...@uima.apache.org>
Subject [jira] Closed: (UIMA-1789) deployAsyncService script should use -XX:+HeapDumpOnOutOfMemoryError
Date Wed, 02 Jun 2010 14:19:38 GMT

     [ 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.


Mime
View raw message