From: Adam Carter <Adam.Carter@optus.com.au>
To: "gentoo-java@lists.gentoo.org" <gentoo-java@lists.gentoo.org>
Subject: [gentoo-java] Memory heap size problem
Date: Mon, 4 May 2009 12:15:48 +1000 [thread overview]
Message-ID: <5602B0BD6D59AE4791BE83104940118DC11A58D8@excprdmbxw002.optus.com.au> (raw)
A cisco web java gui is complaing "Your current java memory heap size is less than 256 MB. You must increate the Java memory heap size" etc. On windows and on a previous gentoo x86 box putting -Xmx256m in the java applet runtime settings makes it work. This box is a newly build amd64.
Looks like the .jnlp is setting the memory;
sphinx deployment # grep max /tmp/idm-1.jnlp
<j2se version="1.4+" initial-heap-size="64m" max-heap-size="256m"/>
And the app is running with the required Xmx256m parameter;
sphinx deployment # pgrep -lf java
10147 /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=36054 -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-9.jnlp
So it looks like it should work - any ideas on how to fix this? (sun-jdk-1.6.0.13, also tried a 1.5 but had the same problem).
next reply other threads:[~2009-05-04 2:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-04 2:15 Adam Carter [this message]
2009-05-04 8:46 ` [gentoo-java] Memory heap size problem Vlastimil Babka
2009-05-04 23:45 ` Adam Carter
2009-05-04 17:09 ` gnul
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5602B0BD6D59AE4791BE83104940118DC11A58D8@excprdmbxw002.optus.com.au \
--to=adam.carter@optus.com.au \
--cc=gentoo-java@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox