|
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. |
_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
