[Red5] OutOfMemoryError - Java heap space
Ritu Raj Tiwari
rituraj.tiwari at gmail.com
Fri Jan 23 09:25:56 PST 2009
Ram,My approach to Java memory heap issues is to give the JVM as much memory
as I can and then keep cutting it down until it hits out of memory
exceptions. If your memory needs seem to be beyond what you can give it,
then its time to profile red5 to see what is taking up the memory and where
a leak might be.
-Raj
On Wed, Jan 21, 2009 at 11:49 AM, Ramadoss <ramadossc at yahoo.com> wrote:
> Hi,
> I wonder if someone could help us with this error on Red5 Server 0.7.0
> Revision: 2657
>
> Here is the stack trace..
> =========================
> 2009-01-16 12:28:53,149 [SocketAcceptorIoProcessor-0.4] WARN
> o.a.m.c.s.DefaultExceptionMonitor - Unexpected exception.
>
> java.lang.OutOfMemoryError: Java heap space
>
>
>
> below is wrapper.conf
> ======================
> # Java Additional Parameters
> #wrapper.java.additional.1=
>
> # Initial Java Heap Size (in MB)
> #wrapper.java.initmemory=250
>
> # Maximum Java Heap Size (in MB)
> #wrapper.java.maxmemory=1024
>
> # Application parameters. Add parameters as needed starting from 1
> wrapper.app.parameter.1=org.red5.server.Standalone
>
>
> Heap building upto 1024 MB then crashes that we have been re-starting the
> JVM (Red5) for everyday in Production. We are using Mustang(Java 1.6)
>
> Could someone help us or direct to any link if this was addressed before.
>
> Appreciated!
>
> Ram
>
>
>
>
>
>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
--
-Raj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/red5_osflash.org/attachments/20090123/b7d65f2c/attachment.html>
More information about the Red5
mailing list