[Red5] #1517 update

Dan Rossi spam at electroteque.org
Tue Oct 31 20:30:47 EST 2006


Mondain wrote:
> I really think you are not giving the server enough memory, I suggest 
> you allocate more memory at startup. I ran my fix within eclipse and I 
> was only using about ~50mb of heap total but I was viewing my 97mb 
> file...
> Try specifing these options during startup
> -Xmx512m -Xms128m
>
> Info here: http://blogs.sun.com/watt/resource/jvm-options-list.html
>

Hi thats different to the arg i found,

<jvmarg value="-Xmx512m -Xms128m"/>

i added it here in the build file, ill try in the red5.sh file aswell 
but how do i set that in eclipse ?

> Paul
>
> On 10/31/06, *Dan Rossi* <spam at electroteque.org 
> <mailto:spam at electroteque.org>> wrote:
>
>     Hi even my discovery of svn not updating the io directory because
>     its not even in the same path didnt work, i get the same error on
>     the windows server. Its clearly a problem with files larger than
>     47MB , 46MB is ok :)
>
>     Dan Rossi wrote:
>>     ok i found the setting you were talking about and got this
>>
>>        [java] [INFO] 61249 DefaultQuartzScheduler_Worker-4:(
>>     org.red5.server.stream.PlaylistSubscriberStream.info
>>     <http://org.red5.server.stream.PlaylistSubscriberStream.info> )
>>     Scheduled stop in: -1597551538
>>          [java] [ERROR] 61676 pool-1-thread-5:(
>>     org.red5.server.messaging.InMemoryPullPullPipe.error ) exception
>>     when pulling message from provider
>>          [java] java.lang.OutOfMemoryError: Direct buffer memory
>>          [java]     at java.nio.Bits.reserveMemory(Bits.java:633)
>>          [java]     at
>>     java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:95)
>>          [java]     at
>>     java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:288)
>>          [java]     at
>>     org.apache.mina.common.PooledByteBufferAllocator.allocate0(PooledByteBufferAllocator.java:184)
>>          [java]     at
>>     org.apache.mina.common.PooledByteBufferAllocator.allocate(PooledByteBufferAllocator.java:159)
>>          [java]     at
>>     org.apache.mina.common.ByteBuffer.allocate(ByteBuffer.java:235)
>>          [java]     at
>>     org.red5.io.flv.impl.FLVReader.<init>(FLVReader.java:114)
>>          [java]     at org.red5.io.flv.impl.FLV.getReader(FLV.java:171)
>>
>>
>>
>>     Mondain wrote:
>>>     Im not sure what heap errors youre talking about, did you try
>>>     all three buffer types? I got all of them to work for my 97mb /
>>>     101,000b FLV file. Since you say youre having heap errors you'll
>>>     probably want to try the "direct" option.
>>>
>>>     Paul
>>>
>>>     On 10/31/06, *Dan Rossi* <spam at electroteque.org
>>>     <mailto:spam at electroteque.org>> wrote:
>>>
>>>         Hi, unfortunately it didnt fix the heap errors, if you need
>>>         a 50MB+ file let me know ill ftp it somewhere. 
>>>         Unfortunately i cant just get a 0.5 tarball as i need some
>>>         features available in trunc, and i need to work out which
>>>         version works now.
>>>
>>>         _______________________________________________
>>>         Red5 mailing list
>>>         Red5 at osflash.org <mailto:Red5 at osflash.org>
>>>         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
>>>     Red5 at osflash.org <mailto:Red5 at osflash.org>
>>>     http://osflash.org/mailman/listinfo/red5_osflash.org
>>>       
>>
>>     ------------------------------------------------------------------------
>>
>>     _______________________________________________
>>     Red5 mailing list
>>     Red5 at osflash.org <mailto:Red5 at osflash.org>
>>     http://osflash.org/mailman/listinfo/red5_osflash.org
>>       
>
>
>     _______________________________________________
>     Red5 mailing list
>     Red5 at osflash.org <mailto:Red5 at osflash.org>
>     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
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20061101/2d2e17b4/attachment-0001.htm


More information about the Red5 mailing list