Return-Path: Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 97676 invoked from network); 22 Feb 2000 13:31:46 -0000 Received: from ns.epiuse.co.za (HELO ns.epiuse.com) (196.38.97.2) by locus.apache.org with SMTP; 22 Feb 2000 13:31:46 -0000 Received: from dmz-gw.epiuse.co.za ([196.38.97.1] helo=lara.epiuse.co.za) by ns.epiuse.com with esmtp (Exim 3.02 #3) id 12NFPc-000715-00 for cocoon-users@xml.apache.org; Tue, 22 Feb 2000 15:31:36 +0200 Received: from epiuse.com (crischmuller.epiuse.co.za [196.38.97.241]) by lara.epiuse.co.za with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id FDJMZGS7; Tue, 22 Feb 2000 15:30:56 +0200 Sender: tiny Message-ID: <38B28FEA.AC0E0B5B@epiuse.com> Date: Tue, 22 Feb 2000 15:32:26 +0200 From: Carel-J Rischmuller X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.12-20 i686) X-Accept-Language: en MIME-Version: 1.0 To: cocoon-users@xml.apache.org Subject: Re: Memory problems References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Beginner question :) How do you increase the amount of free memory allocated to your JVM? Carel-J > reduce the memory store paratmer in cocoon.properties, or increase the > amount of free memory allocated to your JVM. The latter is probably > preferred. > > On Tue, 22 Feb 2000, Orkun Akay wrote: > > > > > Hi, > > Sorry for my previous message. > > Has anyone experienced the following? > > I am using > > Win NT 4.0 sp5 > > Apache Web server 1.3.9 > > Apache JServ 1.1 > > Cocoon 1.6.1 > > JDK 1.2 > > JSDK 2.0 > > Xalan 0.19.2 > > Xerces 1.0.1 > > > > When I try to load the hello-page.xml in the samples/hello directory I > get: > > > > Publishing Engine could not be initialized. > > java.lang.IllegalArgumentException: Free memory is already lower than > imposed limit. > > (free memory available:460624). See documentation and FAQ on how to > solve this > > problem. > > at org.apache.cocoon.store.MemoryStore.init(MemoryStore.java:98) > > at org.apache.cocoon.framework.Manager.create(Manager.java:89) > > at org.apache.cocoon.Engine.(Engine.java:138) > > at org.apache.cocoon.Engine.getInstance(Engine.java:195) > > at org.apache.cocoon.Cocoon.init(Cocoon.java:119) > > at > org.apache.jserv.JServServletManager.load_init(JServServletManager.java: > 569) > > at > org.apache.jserv.JServServletManager.loadServlet(JServServletManager.jav > a:488) > > at > org.apache.jserv.JServConnection.processRequest(JServConnection.java:266 > ) > > at org.apache.jserv.JServConnection.run(JServConnection.java:188) > > at java.lang.Thread.run(Unknown Source) > > > > > > When I increase the start heap and max heap of JVM,restart apache and > reload the same > > xml file I get an Application Error window saying: > > The instruction at "0x50001988" referenced memory at "0x0000000b". The > memory could > > not be "read". > > > > In the mod_jserv.log: > > [22/02/2000 09:50:24:958] (EMERGENCY) ajp12[1]: cannot scan servlet > headers (500) > > [22/02/2000 09:50:24:958] (ERROR) an error returned handling request > via protocol > > "ajpv12" > > > > and in the error.log of apache web server : > > [Tue Feb 22 11:50:24 2000] [error] [client 157.189.182.19] Premature > end of script > > headers: (null) > > > > Everything was working fine with Cocoon 1.5. > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org > > For additional commands, e-mail: cocoon-users-help@xml.apache.org > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org > For additional commands, e-mail: cocoon-users-help@xml.apache.org