Hi Roger.
Now 128M is the maximum memory for heap size I can use.
following settings in cocoon.xconf:

  <store-janitor 
class="org.apache.cocoon.components.store.StoreJanitorImpl" 
logger="core.store.janitor">
     <!-- How much free memory shall be available in the jvm 
-->                
     <parameter name="freememory" value="5000000"/>
     <!-- Indicates the limit of the jvm memory consumption. The default 
max
     heapsize for Sun's JVM is 64Mb -->
     <parameter name="heapsize" value="134217728"/><!-- heapsize now is 
128M -->
     <!-- How often shall the cleanup thread check memory -->
     <parameter name="cleanupthreadinterval" value="10"/>
     <!-- Indicates the thread priority of the cleanup thread -->
     <parameter name="threadpriority" value="5"/>
     <!-- How much percent of the elements of each registered Store shall
     be removed when low on memory. Default 10% -->
     <parameter name="percent_to_free" value="10"/>
  </store-janitor>

Yury.

Roger I Martin PhD wrote:

>How much memory do you have?
>
>Can you set the memory usage up on the tomcat command line?
>-ms128M -mx256M
>or higher.
>
>-Roger
>----- Original Message -----
>From: "yuryx" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, June 11, 2002 6:26 AM
>Subject: Re: java.lang.OutOfMemoryError ------help pls
>
>
>>Hi Niket.
>>I have the same symptoms while access to subsitemaps :(
>>(cocoon2.0.2 on tomcat4.0.4-b1)
>>Yury.
>>



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to