Package: azureus
Version: 2.5.0.0-1
Severity: normal
Tags: patch

Azureus gives out of heap memory error messages when 'Allocating' torrents with 
a large number of files. The torrent that gave me this problem had 21000 files 
in it. This can be fixed by adding -Xmx1024M as a parameter to the JVM. Here is 
a patch for /usr/bin/azureus that does that.

--- azureus.old 2006-09-09 17:55:24.000000000 -0700
+++ azureus.new 2006-09-09 17:55:10.000000000 -0700
@@ -6,6 +6,6 @@
        if [ ! -d ~/.Azureus ]; then mkdir ~/.Azureus; fi
        cd ~/.Azureus
 fi
-exec java -Djava.library.path=.:/usr/lib/jni:/usr/lib \
+exec java -Xmx1024M -Djava.library.path=.:/usr/lib/jni:/usr/lib \
        -classpath Azureus2.jar:swt.jar:/usr/share/java/Azureus2.jar:$JARS \
        org.gudy.azureus2.ui.swt.Main "$@"


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (101, 'testing'), (3, 'stable'), (2, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-k7
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages azureus depends on:
pn  java-gcj-compat | java-vi <none>         (no description available)
ii  libcommons-cli-java       1.0-8          API for working with the command l
ii  liblog4j1.2-java          1.2.13-1       Logging library for java
ii  libseda-java              3.0-3          the Staged Event-Driven Architectu
ii  libswt-gtk-3.2-java       3.2-1          Standard Widget Toolkit for GTK Ja
ii  sun-j2re1.5 [java2-runtim 1.5.0+update06 Java(TM) 2 RE, Standard Edition, S

Versions of packages azureus recommends:
pn  java-package                  <none>     (no description available)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to