Correct me if I am wrong... Auto = Let Mina decide on heap or direct Heap = Memory allocated to the vm (may be RAM or Disk). Directly affected by the -Xmx and -Xms jvm options. Direct = Memory directly mapped, possibly outside the vm. May be out of reach for the garbage collector. This normally means a whole file is mapped to a region of system RAM.
Paul On 2/8/07, marlon prado <[EMAIL PROTECTED]> wrote:
Hi , We currently just finished developing a full blown video conference and things work fine so far. No we are attempting to stream video from the default "streams" folder and for short FLV clips it works fine, but we also have clips close to 800M long and when trying to stream them the server just hangs untill we get an "App disconected" message. My question is what settings should I be using in the updated " red5-common.xml" config file to handle this properly. What value should I use for property name "arguments" in the folowing peace of xml from " red5-common.xml" attached at the bottom ,and should I use "direct" since using "heap" may be too large of a value for heap to set at, or does is not matter as long as I hace enought memory. <bean class=" org.springframework.beans.factory.config.MethodInvokingFactoryBean"> <property name="targetObject"> <bean class="org.red5.io.flv.impl.FLVReader" /> </property> <property name="targetMethod"> <value>setBufferSize</value> </property> <!-- Three buffer types are available 'auto', 'heap', and 'direct' --> <property name="arguments" value="WHAT VALUE SHOULD I USE HERE ( 800M?) " /> </bean> Thank you in advance for anybody that is willing to give me a small hint on this, Alex ------------------------------ TV dinner still cooling? Check out "Tonight's Picks"<http://us.rd.yahoo.com/evt=49979/*http://tv.yahoo.com/>on Yahoo! TV. _______________________________________________ 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
