I'm running it through the wrapper.exe that makes it a service. I've got that set to:

# Initial Java Heap Size (in MB)
wrapper.java.initmemory=128

# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=1024

So you're saying I should set the initmemory to 256? I've had it set to that before and it didn't help. The memory starts growing, and after it gets to about 1GB, then it crashes.

Does anyone know if there are fixes in 0.6 that would address this issues? I'm using 0.5 right now. Thanks.

Costin

----Original Message Follows----
From: "joseph wamicha" <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: [Red5]  OutOfMemory Crashes
Date: Wed, 10 Jan 2007 12:38:37 +0300

If you are using red5.sh/red5.bat:
Add "-Xmx256M" (or whatever JAVA Heap memory you can afford) to the
statement starting red5 in red5.sh(Linux) or red5.bat(Windows) file

If you are using ant (got this on the mailing list, have not tried it):
export ANT_OPT=-Xmx256M
and then do ant server

- -
Hi everyone,

I'm running a live streaming app with only about 1-3 instances at once, 1
publisher per instance, and maybe up to 20 subscribers, and I keep getting
OutOfMemory errors, and the service crashes.  Here's what it looks like in
the log:



--
C is forever.


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

_________________________________________________________________
Dave vs. Carl: The Insignificant Championship Series.  Who will win? http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://davevscarl.spaces.live.com/?icid=T001MSN38C07001


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to