cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carel-J Rischmuller <carel-j.rischmul...@epiuse.com>
Subject Re: Memory problems
Date Tue, 22 Feb 2000 13:32:26 GMT
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


Mime
View raw message