cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Orkun Akay <orkun.a...@softwareag.com>
Subject Re: Memory problems
Date Tue, 22 Feb 2000 15:03:49 GMT
Problem solved by adding cocoon.jar to the command line parameters of java.exe as "-cp"
parameter. The problem could be arising from different versions of some class files being
visible to cocoon at the same time. But I'm not sure yet.

Donald Ball wrote:

> 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.java: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

--
Orkun Akay
System Specialist
Software AG
Enterprise Systems

  Al Karanfil Sokak No:1 1.Levent
  Istanbul
  80620
  Turkiye
                       Fax: 90 212 2810049
                       Work: 90 212 2849841



Mime
View raw message