Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DB4C99644 for ; Tue, 6 Mar 2012 07:13:28 +0000 (UTC) Received: (qmail 82048 invoked by uid 500); 6 Mar 2012 07:13:25 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 81197 invoked by uid 500); 6 Mar 2012 07:13:19 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 81146 invoked by uid 99); 6 Mar 2012 07:13:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2012 07:13:17 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rainer.frey@inxmail.de designates 213.30.253.65 as permitted sender) Received: from [213.30.253.65] (HELO mail.inxmail.de) (213.30.253.65) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2012 07:13:10 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.inxmail.de (Postfix) with ESMTP id CF3D087449 for ; Tue, 6 Mar 2012 08:12:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=inxmail.de; h= x-mailer:references:message-id:content-transfer-encoding:date :in-reply-to:from:subject:mime-version:content-type:received :x-virus-scanned; s=mail20091023; t=1331017969; bh=j3HMltODvlkds SeNF3vEOpaaiOQWvU5zN1aQEUeEPkQ=; b=JnGDYWXIxLWTyk2EsV5YU9PTgwdoh jLi9GRioZtvZDo2hohWVLRee3kS9h5vcFgpvbZr/nkkFzs3uVgyNru/ci3O/6qXx x/MCvPR02srBfUaQIo5wye+b/zlY/rHvRpofqvpz42dGmW2WLDYM1/RqSIH1SGWK 4vwibgZF5YkIN8= X-Virus-Scanned: Debian amavisd-new at inxmail.de Received: from dev-rfy-mac.intern.inxmail.de (unknown [213.30.253.126]) by mail.inxmail.de (Postfix) with ESMTP for ; Tue, 6 Mar 2012 08:12:49 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: =?iso-8859-1?Q?Re=3A_RE=A0=3A_Tomcat7_OutOFMemoryError?= From: Rainer Frey In-Reply-To: <1512C13C0C5EA947AE50B9B9AC314F47099FD4@ATLAS.pactenovation.fr> Date: Tue, 6 Mar 2012 08:12:48 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <6C1976DF-0CE1-40E2-BC1C-EBC76AE6BFD1@inxmail.de> References: <1512C13C0C5EA947AE50B9B9AC314F47099FD3@ATLAS.pactenovation.fr> <2C14DE05-5C78-4485-BFCC-8D64C7DB0C63@inxmail.de> <1512C13C0C5EA947AE50B9B9AC314F47099FD4@ATLAS.pactenovation.fr> To: "Tomcat Users List" X-Mailer: Apple Mail (2.1084) X-Virus-Checked: Checked by ClamAV on apache.org On 05.03.2012, at 14:14, Philippe ROUXEL wrote: >>> When I set JAVA_OPTS=3D -Xmx1024m -Xss75m >>=20 >> That means: each thread get a stack of 75MB. One of the following = applies: >> * the operating system has a limit on thread stack size >> * the per process memory limit is reached before all initial tomcat = threads are started >> * the system runs out of total memory before all initial tomcat = threads are started >>=20 >> 75MB thread stack size seems quite insane, the default is around = 1-2MB. Perhaps you meant to set -Xms (which sets the initial Java heap = size)? > 75MB of stack is needed by hibenate to save the data aka a graph. I haven't used hibernate personally, but I never heard anything like = that. So please elaborate. Where did you get that information? Also what do you mean with "graph"? The graph of associated objects that = are updated by one hibernate call, or is your data actually graph data? If so, how is that mapped? do you have any self-referential = associations? Is it really stack that you are talking about? Rainer= --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org