Gentoo Archives: gentoo-user

From: Aaron Clark <ophidian@×××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] FW: jre memory heap size issue
Date: Wed, 22 Apr 2009 14:18:54
Message-Id: 49EF2749.6060903@ophidian.homeip.net
In Reply to: [gentoo-user] FW: jre memory heap size issue by Adam Carter
1 Adam Carter wrote:
2 > Sorry - here it is in plain text for the luddites, j/k :-)
3 >
4 > I have set -Xmx256m using the Java control panel GUI, and;
5 > sphinx jre # pgrep -lf java
6 > 8949 /opt/sun-jdk-1.6.0.13/jre/bin/java -Xmx256m -Xbootclasspath/a:/opt/sun-jdk-1.6.0.13/jre/lib/javaws.jar:/opt/sun-jdk-1.6.0.13/jre/lib/deploy.jar:/opt/sun-jdk-1.6.0.13/jre/lib/plugin.jar -classpath /opt/sun-jdk-1.6.0.13/jre/lib/deploy.jar -Djnlpx.vmargs=-Xmx256m -Djnlpx.jvm=/opt/sun-jdk-1.6.0.13/jre/bin/java -Djnlpx.splashport=42982 -Djnlpx.home=/opt/sun-jdk-1.6.0.13/jre/bin -Djnlpx.remove=false -Djnlpx.offline=false -Djnlpx.relaunch=true -Djnlpx.heapsize=67108864,268435456 -Djava.security.policy=file:/opt/sun-jdk-1.6.0.13/jre/lib/security/javaws.policy -DtrustProxy=true -Xverify:remote com.sun.javaws.Main file:///tmp/idm.jnlp
7 > sphinx jre #
8 >
9 > And i have restarted firefox, but when i try to run the app it still complains about the memory size. the -Xmx256m tweak recommended by the app vendor works in windows, and IIRC it also worked on my old x86 machine. The current machine is a newly built amd64. Any ideas on what's wrong?
10 >
11
12 You may have better luck getting informed responses from the Gentoo-Java
13 list.
14
15 Aaron