Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 69896 invoked from network); 8 Feb 2007 12:40:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Feb 2007 12:40:10 -0000 Received: (qmail 67820 invoked by uid 500); 8 Feb 2007 12:40:16 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 67801 invoked by uid 500); 8 Feb 2007 12:40:16 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 67787 invoked by uid 99); 8 Feb 2007 12:40:16 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Feb 2007 04:40:16 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Feb 2007 04:40:04 -0800 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HF8Yx-0005Co-VO for users@jackrabbit.apache.org; Thu, 08 Feb 2007 04:39:43 -0800 Message-ID: <8864571.post@talk.nabble.com> Date: Thu, 8 Feb 2007 04:39:43 -0800 (PST) From: Michal Hybler To: users@jackrabbit.apache.org Subject: Re: java.lang.OutOfMemoryError: Java heap space In-Reply-To: <510143ac0702080254h798ee39frebb30f888b291ba9@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: m.hybler@email.cz References: <8726755.post@talk.nabble.com> <8822465.post@talk.nabble.com> <510143ac0702060112m5ce6a6b7m6b260002ab3c04a4@mail.gmail.com> <8822777.post@talk.nabble.com> <510143ac0702060134w5e19f33hd3db5d2cea4982cc@mail.gmail.com> <8823503.post@talk.nabble.com> <510143ac0702080254h798ee39frebb30f888b291ba9@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Thanks it has been number 2 :) a had to set up it on tomcat in some manager that it provides. I have one more question...can i set bigger memory only for jackrabbit apliccation or is it possible only for whole tomcat? Jukka Zitting wrote: > > Hi, > > On 2/6/07, Michal Hybler wrote: >> I have set -Xmx512m on ther server(under winddows xp). > > OK. > >> What does it mean I didnt provide JAR? Where can I get it? >> It istn standart part of JDK? > > I was referring to the usage message you posted earlier: > > c:\>java -Xmx512m -Xms512m > Usage: java [-options] class [args...] > (to execute a class) > or java [-options] -jar jarfile [args...] > (to execute a jar file) > > The usage message is caused by the fact that you didn't provide the > "class" or "-jar jarfile" part of the command line. The -X options are > just fine. > >> Its Jakrabbit webapp and on this server runs Apache,Tomcat and about >> three >> databases. > > OK. > > None of this sounds too troublesome, so there's three main candidates > for the cause of your problem: 1) a memory leak in JCR-RMI, 2) your > memory settings (-Xmx512m) aren't active, 3) there's some other > application that's hogging all available memory. > > I'm not sure how to best trace this, I tried this with a simple test > case but couldn't duplicate your problem. Can you post the full stack > trace you are receiving and the relevant parts of your client code > where you upload the file and save the transient state? > > BR, > > Jukka Zitting > > -- View this message in context: http://www.nabble.com/java.lang.OutOfMemoryError%3A-Java-heap-space-tf3147963.html#a8864571 Sent from the Jackrabbit - Users mailing list archive at Nabble.com.