Thanks steve however, as i said before until im familiar with configuring java configs, im going to leave them as default, it seems its not using cache !


    <!--
    Now we can load the cache engine, only one may be enabled at a time. If no-caching is required select the
    NoCacheImpl. Three other implementations based on EhCache, WhirlyCache, and Red5Cache are also available.
    -->
    <bean id="object.cache" class="org.red5.server.cache.NoCacheImpl" />
<!--
    <bean id="object.cache" class="org.red5.server.cache.CacheImpl" init-method="init" autowire="byType">
        <property name="maxEntries"><value>5</value></property>
    </bean>
   
    <bean id="object.cache" class="org.red5.server.cache.WhirlyCacheImpl" init-method="init" autowire="byType">
        <property name="maxEntries" value="5" />
        <property name="cacheConfig">
            <bean class="com.whirlycott.cache.CacheConfiguration">
                <property name="name" value="flv.cache" />
                <property name="maxSize" value="5" />
                <property name="policy"><value>com.whirlycott.cache.policy.LFUMaintenancePolicy</value></property>
                <property name="backend"><value>com.whirlycott.cache.impl.FastHashMapImpl</value></property>
            </bean>
        </property>
    </bean>  
   
    <bean id="object.cache" class="org.red5.server.cache.EhCacheImpl" init-method="init">
        <property name="diskStore" value="java.io.tmpdir" />
        <property name="memoryStoreEvictionPolicy" value="LFU" />
        <property name="cacheManagerEventListener"><null/></property>       
        <property name="cacheConfigs">
            <list>
                <bean class="net.sf.ehcache.config.CacheConfiguration">
                    <property name="name" value="flv.cache" />
                    <property name="maxElementsInMemory" value="5" />
                    <property name="eternal" value="false" />
                    <property name="timeToIdleSeconds" value="0" />
                    <property name="timeToLiveSeconds" value="0" />
                    <property name="overflowToDisk" value="false" />
                    <property name="diskPersistent" value="false" />
                </bean>           
            </list>
        </property>
    </bean>    
-->

Steven Gong wrote:


On 10/28/06, Dan Rossi <[EMAIL PROTECTED]> wrote:
Hi sorry i found something, we have 2GB of memory on this server, only 200MB is being used atm

Disable the cache and try again. The cache settings are in red5-common.xml

[ERROR] 116047 pool-1-thread-1:( org.red5.server.messaging.InMemoryPullPullPipe.
error ) exception when pulling message from provider
java.lang.OutOfMemoryError: Java heap space

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org





--
I cannot tell why this heart languishes in silence. It is for small needs it never asks, or knows or remembers.  -- Tagore

Best Regards
Steven Gong

_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org



_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to