ok updating svn is a real mess, it wont auto merge changes i have to make to the internal configs because im having to add my webapps to jetty.xml so it has the dodgy markups everywhere, red-common now has broken newlines and it wont start the server because of it.

Dan Rossi wrote:
I just ran an svn update im not sure if the changes are there in the doc directory

And this doesnt tell me much ? It seems we havent been using cache anyway, but that out of memory error is still there, its only just happened btw, i even rebooted the server.

The object (FLV) cache is configured / spring-wired in this file. Two implementations
are currently available, one is our own creation (simple byte-buffers) and the other uses
WhirlyCache. The bean configurations are as follows (Only one may be used at a time):
- Red5 homegrown simple example
     <bean id="object.cache" class="org.red5.server.cache.CacheImpl" init-method="init" autowire="byType">
         <property name="maxEntries"><value>5</value></property>
     </bean>
   
- Whirlycache https://whirlycache.dev.java.net/
    <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" />
          <!-- This policy removes cached items, biased towards least frequently used (LFU) Items -->
          <property name="policy"><value>com.whirlycott.cache.policy.LFUMaintenancePolicy</value></property>
          <!-- This policy removes cached items, biased towards least recently used (LRU) Items -->
          <!-- property name="policy"><value>com.whirlycott.cache.policy.LRUMaintenancePolicy</value></property -->
          <!-- This policy removes cache items in the order in which they were added -->
          <!-- property name="policy"><value>com.whirlycott.cache.policy.FIFOMaintenancePolicy</value></property -->
          <!-- A predicate for filtering Collections of Items based on their expiration time -->
          <!-- property name="policy"><value>com.whirlycott.cache.policy.ExpirationTimePredicate</value></property -->       
          <!-- property name="backend"><value>com.whirlycott.cache.impl.ConcurrentHashMapImpl</value></property -->
              <property name="backend"><value>com.whirlycott.cache.impl.FastHashMapImpl</value></property>
          </bean>
      </property>
      </bean>  


Dan Rossi wrote:
I just tried turning on the 3 different ones there, all  still suffering the same error.

Mondain wrote:
If you look at the ConfigurationFilesOverview.txt doc in java\server\trunk\doc you will see how to configure or disable the cache. I just committed an update to the doc btw.

Paul

On 10/27/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

[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





--
The early bird may get the worm, but the second mouse gets the cheese.

_______________________________________________ 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


_______________________________________________ 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