Return-Path: X-Original-To: apmail-uima-user-archive@www.apache.org Delivered-To: apmail-uima-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D6281113AF for ; Wed, 20 Aug 2014 13:11:58 +0000 (UTC) Received: (qmail 78693 invoked by uid 500); 20 Aug 2014 13:11:58 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 78652 invoked by uid 500); 20 Aug 2014 13:11:58 -0000 Mailing-List: contact user-help@uima.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@uima.apache.org Delivered-To: mailing list user@uima.apache.org Received: (qmail 78639 invoked by uid 99); 20 Aug 2014 13:11:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Aug 2014 13:11:58 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of eaepstein@gmail.com designates 209.85.220.178 as permitted sender) Received: from [209.85.220.178] (HELO mail-vc0-f178.google.com) (209.85.220.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Aug 2014 13:11:32 +0000 Received: by mail-vc0-f178.google.com with SMTP id la4so8940853vcb.23 for ; Wed, 20 Aug 2014 06:11:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=su7n2feooCZWVKr01bZe0IW9kc2KO7aPwVxCBWsH1N4=; b=ajxo6eVLbWSSR06jZf2tgLNo5flJZZwCnrLDMGhSiSmpxzNEeRrFEc97gK0L8iDngg 5rWk2aXIWL7W/XUBHK1g0YtQqjUOyMbfGHj1kRmijg9sHHtChbaVOOzaHyF+Vj3urvz5 gs7+SMkt68jeR3Q1HKF/rRiZ5mRFT7FwCeRe6WS8Sk7Wy59MqQ2F3It7Jeek+HOUq/Cs 8jtxrPcb62XKypxlzXwsl2dOB4X3WdRL6Y8QPkXBd1AyPz+a9SRM7oJmoQ4CKojutYMi CULhVPkMMAG2I62sGI8AMRktxgT8TV4OFA8GUsP1LVhq/HNSYRvSKVsmgBFtEIQIXhbN P4zQ== MIME-Version: 1.0 X-Received: by 10.52.6.138 with SMTP id b10mr420815vda.84.1408540291124; Wed, 20 Aug 2014 06:11:31 -0700 (PDT) Received: by 10.52.112.105 with HTTP; Wed, 20 Aug 2014 06:11:31 -0700 (PDT) In-Reply-To: References: Date: Wed, 20 Aug 2014 09:11:31 -0400 Message-ID: Subject: Re: Uima AS out of memory From: Eddie Epstein To: user@uima.apache.org Content-Type: multipart/alternative; boundary=20cf302ef2bab4596b05010f57e0 X-Virus-Checked: Checked by ClamAV on apache.org --20cf302ef2bab4596b05010f57e0 Content-Type: text/plain; charset=UTF-8 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 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. > > --20cf302ef2bab4596b05010f57e0--