red5.sh/bat failed to start

770 views
Skip to first unread message

solomax

unread,
Mar 21, 2013, 2:29:03 PM3/21/13
to red5in...@googlegroups.com
Hello All,

It seems I have issues with red5.sh/bat scripts after fixing https://code.google.com/p/red5/issues/detail?id=364

It seems the -XX:+OptimizeStringConcat breaks red5.sh/bat on Windows/Ubuntu

Windows 7 x64 Ent.
java version "1.7.0_15"
Java(TM) SE Runtime Environment (build 1.7.0_15-b03)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)

java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b05)
Java HotSpot(TM) Client VM (build 20.6-b01, mixed mode, sharing)

The exact message:
Starting Red5
Unrecognized VM option 'OptimizeStringConcat'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Ubuntu 12.10
Linux antares 3.5.0-26-generic #42-Ubuntu SMP Fri Mar 8 23:20:06 UTC 2013 i686 i686 i686 GNU/Linux

java version "1.6.0_35"
Java(TM) SE Runtime Environment (build 1.6.0_35-b10)
Java HotSpot(TM) Client VM (build 20.10-b01, mixed mode, sharing)

Running on  Linux
Starting Red5
Unrecognized VM option '+OptimizeStringConcat'
Could not create the Java virtual machine.



Maybe this option can be removed?

Mondain

unread,
Mar 21, 2013, 2:34:21 PM3/21/13
to red5in...@googlegroups.com
Yes, you can remove it; ill also pull it out of the file in the repo to prevent confusion.


--
 
---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to red5interest...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
http://gregoire.org/
http://code.google.com/p/red5/

solomax

unread,
Mar 22, 2013, 12:10:11 AM3/22/13
to red5in...@googlegroups.com
Thanks for the quick reply

Unfortunately this is not enough :(
This optimization present in red5.bat, red5.sh, red5-highperf.sh as well
can you please fix it too?

solomax

unread,
Mar 22, 2013, 1:21:53 AM3/22/13
to red5in...@googlegroups.com
I see rev 4604
Thanks!

solomax

unread,
May 6, 2013, 2:13:12 AM5/6/13
to red5in...@googlegroups.com
Hello Paul,

recently users are complaining red5-highperf.sh does not working:

Running on  Linux
Starting Red5
Error occurred during initialization of VM
Too small initial heap for new size specified

The script is fixed by removing -Xmn512m option (already removed from *.bat file)
Could you please  update red5-highperf.sh in repository?

Thanks in advance

Mondain

unread,
May 6, 2013, 8:24:20 AM5/6/13
to red5in...@googlegroups.com
It'll be in the next commit.

solomax

unread,
May 6, 2013, 10:12:54 AM5/6/13
to red5in...@googlegroups.com
Thanks!
Reply all
Reply to author
Forward
0 new messages