I am interested in if you changed any memory settings to accomodate 
those 400 users.  I am looking to stream pre-recorded flv videos to 
(hopefully) a large number of people.  I received a Java out of memory 
error though:

     [java] Exception in thread "FlowControlService" 
java.lang.OutOfMemoryError: Java heap space
     [java] Exception in thread "DefaultQuartzScheduler_Worker-3" 
java.lang.OutOfMemoryError: Java heap space
     [java] Exception in thread "DefaultQuartzScheduler_Worker-9" 
java.lang.OutOfMemoryError: Java heap space
     [java] Exception in thread "DefaultQuartzScheduler_Worker-4" 
java.lang.OutOfMemoryError: Java heap space
     [java] Exception in thread 
"DefaultQuartzScheduler_QuartzSchedulerThread" 
java.lang.OutOfMemoryError: Java heap space
     [java] Exception in thread "SocketAcceptor-0" 
java.lang.OutOfMemoryError: Java heap space

I am running red5-0.5 on Gentoo Linux with:
[echo] java.home is /usr/local/jdk1.5.0_07/jre and the target version is 1.5

I have now added "-Xms256 -Xmx1536" to red5.sh.  I crashed, but just 
after more load:

[java] Exception in thread "FlowControlService" 
java.lang.OutOfMemoryError: Java heap space
     [java] Exception in thread 
"DefaultQuartzScheduler_QuartzSchedulerThread" 
java.lang.OutOfMemoryError: Java heap space

In this case, my videos seemed to keep playing, they just stuttered and 
stopped a lot.  Does anyone have any tips here? My videos are currently 
300k, but I'm looking to do 700k in the future as well.  Would the 
pre-.6 code work better?

Thanks,
Alex Thurlow

Dominick Accattato wrote:
> may I ask who these 400 users are?  Is this application available for 
> the public or is this just metrics testing?  Thanks and very cool.
>
> On 9/6/06, *Interalab Sales * <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     Great info.  Thanks for posting it.
>
>     What was the bitrate on each stream?  Was this live or playback of a
>     pre-recorded .flv?
>
>     Best Regards,
>     Bill
>
>     Rodrigo Ordonez Licona wrote:
>
>     >Hi,
>     >
>     >Just to inform that RED 5 was able to hold 400 users for over 2
>     hours,
>     >
>     >After that It could not handle the connection rate and froze
>     (just red5 not
>     >the server), cant find the right error in the log File,
>     >
>     >Will try again and post success,
>     >
>     >This is the release version of 0.5 so Maybe major corrections
>     were done in
>     >the trunk.
>     >
>     >Will try building the trunk and report back
>     >
>     >Regards
>     >
>     >Rodrigo O
>     >
>     >
>     >
>     >-----Original Message-----
>     >From: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>     [mailto:[EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>] On Behalf
>     >Of Interalab Sales
>     >Sent: Martes, 05 de Septiembre de 2006 07:35 p.m.
>     >To: [email protected] <mailto:[email protected]>
>     >Subject: Re: [Red5] audio sync, etc
>     >
>     >Here's what we've seen:
>     >
>     >When publishing a live stream from a camera for a one-to-many web
>     cast, the
>     >audio stays very close to real time while the video slowly drifts
>     out of
>     >sync (delayed) over time.  There are times when the video trys to
>     'catch up'
>     >and will look like fast forward action.  Eventually, the video
>     begins to
>     >start and stop and freeze.
>     >
>     >In one of our tests, the video was delayed by 20-30 seconds after
>     the stream
>     >had been published for about 30 minutes.  This was a 320x240
>     stream to 2
>     >clients - running at 250kbps.
>     >
>     >The problem is referenced in the post by VOD on 2006-09-04 too.
>     -- 'Re:
>     >[Red5] Red5 Newbie Questions'
>     >
>     >Is there anything else we can do to help?  We'd be willing to put
>     time into
>     >testing possible fixes, or if you need any coding help, or
>     whatever you need
>     >- just ask.
>     >
>     >Thanks
>     >
>     >Steven Gong wrote:
>     >
>     >
>     >
>     >>On 9/6/06, *Interalab Sales* <[EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>
>     >><mailto: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>> wrote:
>     >>
>     >>    Is anyone working on the audio sync issue (on a live
>     stream)?  If not,
>     >>    can someone point me in the right direction?  We can take a
>     look
>     >>    to see
>     >>    if we can help.  I might even be able to find someone to offer a
>     >>    bounty
>     >>    if that sort of thing is done here.
>     >>
>     >>
>     >>Could you please explain the audio synch issue in detail? There's
>     >>currently a ticker on Trac that may improve the timestamp
>     handling and
>     >>I am reviewing the patch these days and hope it could be merged to
>     >>trunk as soon as possible.
>     >>
>     >>    Bill
>     >>
>     >>
>     >>    _______________________________________________
>     >>    Red5 mailing list
>     >>    [email protected] <mailto:[email protected]> <mailto:
>     [email protected] <mailto:[email protected]>>
>     >>    http://osflash.org/mailman/listinfo/red5_osflash.org
>     >>
>     >>
>     >>
>     >>
>     >>--
>     >>Best Regards
>     >>Steven Gong
>     >>
>     >>-----------------------------------------------------------------------
>     >>-
>     >>
>     >>_______________________________________________
>     >>Red5 mailing list
>     >>[email protected] <mailto:[email protected]>
>     >>http://osflash.org/mailman/listinfo/red5_osflash.org
>     <http://osflash.org/mailman/listinfo/red5_osflash.org>
>     >>
>     >>
>     >>
>     >>
>     >
>     >_______________________________________________
>     >Red5 mailing list
>     >[email protected] <mailto:[email protected]>
>     > http://osflash.org/mailman/listinfo/red5_osflash.org
>     >
>     >
>     >_______________________________________________
>     >Red5 mailing list
>     >[email protected] <mailto:[email protected]>
>     > http://osflash.org/mailman/listinfo/red5_osflash.org
>     >
>     >
>
>     _______________________________________________
>     Red5 mailing list
>     [email protected] <mailto:[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