Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 23429 invoked from network); 21 Dec 2000 09:07:38 -0000 Received: from cmailg7.svr.pol.co.uk (195.92.195.177) by locus.apache.org with SMTP; 21 Dec 2000 09:07:38 -0000 Received: from [195.92.67.23] (helo=mail18.svr.pol.co.uk) by cmailg7.svr.pol.co.uk with esmtp (Exim 3.13 #0) id 1491hF-0004sF-00 for cocoon-dev@xml.apache.org; Thu, 21 Dec 2000 09:07:33 +0000 Received: from modem-69.utah.dialup.pol.co.uk ([62.137.95.69] helo=hydrogen) by mail18.svr.pol.co.uk with esmtp (Exim 3.13 #0) id 1491hE-0007mW-00 for cocoon-dev@xml.apache.org; Thu, 21 Dec 2000 09:07:32 +0000 Received: from paulr by hydrogen with local (Exim 3.16 #1 (Debian)) id 1491jN-0005Gc-00 for ; Thu, 21 Dec 2000 09:09:45 +0000 Date: Thu, 21 Dec 2000 09:09:45 +0000 From: Paul Russell To: cocoon-dev@xml.apache.org Subject: Re: [C2] Memory consumption Message-ID: <20001221090945.C17561@hydrogen.internal.luminas.co.uk> Reply-To: Paul Russell References: <838E11BB31D0D3119DBF0008C7A47FE70243FE4C@ffz00za6.wwz1me.mail.dresdner.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <838E11BB31D0D3119DBF0008C7A47FE70243FE4C@ffz00za6.wwz1me.mail.dresdner.net>; from Christian.Schmitt@Dresdner-Bank.com on Thu, Dec 21, 2000 at 09:38:40AM +0100 Sender: Paul Russell X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N * Schmitt, Christian (Christian.Schmitt@Dresdner-Bank.com) wrote : > After looking at the log file I found the following: > > 2000-12-20 16:34:26 ERROR 17447 [cocoon ] (Thread-13): Error compiling > sitemap, caught java.lang.OutOfMemoryError: null > > This happens on our Linux box (Debian 2.2, Sun JDK 1.3). On my NT box I do > get the sitemap compiled, but just barely (I think). Memory usage of the JVM > is at about 72MB after compiling the sitemap (on NT that is). Yeah, I noticed this yesterday, too. I'm not sure what's causing it. > The I did some debugging to find out where the memory hog is, and I traced > it down to the generateCode() method in > org.apache.cocoon.components.language.markup.LogicsheetCodeGenerator.java. > There on line 123 the call "this.rootReader.parse(input);" is throwing the > OutOfMemory exception. Okay. I'm just about to commit a change which should make it easier to track down the exact location of the out of memory error. Having said that, there's no guaruntee that the place it's running out of memory is the place that's eating RAM. Sometimes I wish we still had pointers. Can you update your checkout and try again? If you can get the error to re-occour, then look in the log, and you should find a stack trace next to the OutOfMemoryError -- post that here and we'll see if we can work it out! > This morning I saw Robin Green committed a change to todo.xml: > + > + Track down cause of OutOfMemoryError and multiple PDF problems. > > May be it's got something to do with my issue as well. Nope, sadly not. Much though we'd love to have Robin's help on this one, he's kinda busy looking after Cocoon 1 :) Paul. -- Paul Russell Email: paul@luminas.co.uk Technical Director Tel: +44 (0)20 8553 6622 Luminas Internet Applications Fax: +44 (0)870 28 47489 This is not an official statement or order. Web: www.luminas.co.uk