From owner-freebsd-ports@FreeBSD.ORG Tue Jan 3 17:08:09 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C244F106564A for ; Tue, 3 Jan 2012 17:08:09 +0000 (UTC) (envelope-from kayasaman@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 58BC78FC15 for ; Tue, 3 Jan 2012 17:08:08 +0000 (UTC) Received: by wibhr1 with SMTP id hr1so16187662wib.13 for ; Tue, 03 Jan 2012 09:08:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=MZJB48I0rSEjjH3kbJpB880mgVb6nRoj1F72hBLs87A=; b=VebaNa7v4/NmgMTHiwuEcM+ohjdFIRO0UByusy2MkMYnw84/WDFcRSvLg5wNBj3WNZ qBqrBxK3uihsR0AIBDIpAtkL277m6VQHoz26Bo0SnLbJhL3WyRsVv3e2Td5ABAL8xw9x gs4JAuWhR7Bb9DlIQpI8iUYdxn2UMpjGI81oU= Received: by 10.180.101.35 with SMTP id fd3mr104860868wib.22.1325610488313; Tue, 03 Jan 2012 09:08:08 -0800 (PST) Received: from Hp2230s.localhost (81-178-2-118.dsl.pipex.com. [81.178.2.118]) by mx.google.com with ESMTPS id fi11sm55514003wbb.9.2012.01.03.09.08.06 (version=SSLv3 cipher=OTHER); Tue, 03 Jan 2012 09:08:06 -0800 (PST) Message-ID: <4F0335EF.30103@gmail.com> Date: Tue, 03 Jan 2012 19:07:59 +0200 From: Kaya Saman User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0 MIME-Version: 1.0 To: ports@freebsd.org References: <4F0303DE.5030101@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Java Heap Space out of memory error Tomcat6 port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2012 17:08:09 -0000 On 01/03/2012 06:49 PM, George Liaskos wrote: > tomcat55_java_opts="-Djava.awt.headless=true -Dfile.encoding=UTF-8 > -server -Xms1536m -Xmx1536m -XX:NewSize=256m -XX:MaxNewSize=256m > -XX:PermSize=256m -XX:MaxPermSize=256m -XX:+DisableExplicitGC" Thanks for that! I copied and pasted the java_opts of yours into my rc.conf and changed the tomcat55 to tomcat6 then restarted. Everything was fine until I tried to delete a photo album from within the wiki. It unfortunately gave me the same error again?? I'm not sure if I should increase the -Xms and Xmx to 2048m+? Kaya