When using deployAsyncService.sh to start a UIMA AS service, the default
Java heap size is Xmx800M. To override this, export an environment
parameter UIMA_JVM_OPTS with JVM arguments. For example:
   $ export UIMA_JVM_OPTS="-Xmx6G -Xms2G"
   $ deployAsyncService.sh myDeploymentDescriptor.xml



On Wed, Aug 20, 2014 at 2:04 AM, Swirl <lriwsw...@gmail.com> wrote:

> Hi,
> I have deployed a AE onto a Uima AS node.
> But when I use it to analyse some documents, i got OutOfMemoryError: Java
> heap
> space.
> I know that the AE is taking large amount of memory due to it loading many
> resources.
>
> How can I increase the memory allocated to it in the Uima AS so that I can
> avoid the error?
>
> Thanks.
>
>

Reply via email to