From: | Adam Carter <Adam.Carter@×××××××××.au> |
---|---|
To: | "gentoo-user@l.g.o" <gentoo-user@l.g.o> |
Subject: | [gentoo-user] jre memory heap size issue |
Date: | Wed, 22 Apr 2009 01:53:11 |
Message-Id: | 5602B0BD6D59AE4791BE83104940118DC0DE35D5@excprdmbxw002.optus.com.au |
1 | I have set -Xmx256m using the Java control panel GUI, and; |
2 | sphinx jre # pgrep -lf java |
3 | 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 |
4 | sphinx jre # |
5 | 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? |