Gentoo Archives: gentoo-user

From: Adam Carter <Adam.Carter@×××××××××.au>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: [gentoo-user] FW: jre memory heap size issue
Date: Wed, 22 Apr 2009 01:57:26
Message-Id: 5602B0BD6D59AE4791BE83104940118DC0DE35E2@excprdmbxw002.optus.com.au
1 Sorry - here it is in plain text for the luddites, j/k :-)
2
3 I have set -Xmx256m using the Java control panel GUI, and;
4 sphinx jre # pgrep -lf java
5 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
6 sphinx jre #
7
8 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?

Replies

Subject Author
Re: [gentoo-user] FW: jre memory heap size issue Aaron Clark <ophidian@×××××××××××××××.net>