[Bug 348109] Re: Vuze/Azureus openjdk hardcoded to executeable
GaryW
gnubyexample at googlemail.com
Mon Aug 10 17:11:41 UTC 2009
Fixes previously provided by rohdef and Cruncher seem to be doing the
trick fine.
Just wanted to add my support for this being treated as a bug. One other
issue that might be considered at the same time is the -Xmx1024M
default.
I have two oldish PCs with 512M and 1Gig of memory respectively, on which Ubunty Jaunty runs fine.
I would be reluctant to give java the freedom of eating a maximum of 1Gig (-Xmx1024M) on either of these machines and so made an additional modification (-Xmx512M) as shown below:
gnubyexample at ad2k1g:~$ date;uname -a;cat /etc/debian_version;cat /etc/lsb-release;dpkg -l | egrep '(vuze|azure|jdk)';more /usr/bin/vuze;grep -H jdk /usr/bin/azureus
Mon Aug 10 17:38:48 BST 2009
Linux ad2k1g 2.6.28-14-generic #47-Ubuntu SMP Sat Jul 25 00:28:35 UTC 2009 i686 GNU/Linux
5.0
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.04
DISTRIB_CODENAME=jaunty
DISTRIB_DESCRIPTION="Ubuntu 9.04"
ii azureus 3.1.1.0-4ubuntu1 BitTorrent client
ii icedtea-java7-jdk 7~b21-1.4+20071007-0ubuntu6 Java runtime based on OpenJDK
ii vuze 3.1.1.0-4ubuntu1 Multimedia BitTorrent client
::::::::::::::
/usr/bin/vuze
::::::::::::::
#!/bin/sh
VUZE=1 exec azureus "$@"
/usr/bin/azureus:JAVA='/usr/lib/jvm/java-6-openjdk/jre/bin/java -Xmx1024M'
gnubyexample at ad2k1g:~$ ls -l /usr/lib/jvm/java-7-icedtea/jre/bin/java
-rwxr-xr-x 1 root root 3252 2007-10-16 00:37 /usr/lib/jvm/java-7-icedtea/jre/bin/java
gnubyexample at ad2k1g:~$ sudo emacs /usr/bin/azureus
[sudo] password for gnubyexample:
gnubyexample at ad2k1g:~$ date;grep -H jdk /usr/bin/azureus Mon Aug 10 17:41:39 BST 2009
/usr/bin/azureus:#JAVA='/usr/lib/jvm/java-6-openjdk/jre/bin/java -Xmx1024M'
gnubyexample at ad2k1g:~$ date;grep -H iced /usr/bin/azureus
Mon Aug 10 17:41:46 BST 2009
/usr/bin/azureus:JAVA='/usr/lib/jvm/java-7-icedtea/jre/bin/java -Xmx512M'
gnubyexample at ad2k1g:~$ vuze
file:/usr/share/java/Azureus2.jar ; file:/usr/share/java/swt-gtk-3.4.jar ; file:/home/gnubyexample/
#In short the -Xmx1024M looks on the high side unless the package can be amended to query how
#much physical memory the system has installed.
#Perhaps /usr/bin/free or /proc/meminfo?
gnubyexample at ad2k1g:~$ /usr/bin/free
total used free shared buffers cached
Mem: 1025520 1000644 24876 0 49816 421840
-/+ buffers/cache: 528988 496532
Swap: 746980 34272 712708
gnubyexample at ad2k1g:~$ cat /proc/meminfo | head -1 | /usr/bin/awk '{print $2}'
1025520
--
Vuze/Azureus openjdk hardcoded to executeable
https://bugs.launchpad.net/bugs/348109
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list