From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1M0nin-0007Jt-2G for garchives@archives.gentoo.org; Mon, 04 May 2009 02:15:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C0637E0918; Mon, 4 May 2009 02:15:55 +0000 (UTC) Received: from mail2.optus.com.au (mail2.optus.com.au [203.13.126.130]) by pigeon.gentoo.org (Postfix) with ESMTP id 36BCAE0918 for ; Mon, 4 May 2009 02:15:55 +0000 (UTC) Received: from mail2.optus.com.au (unknown [127.0.0.1]) by IMSA (Postfix) with ESMTP id 6EA7520F070 for ; Mon, 4 May 2009 12:15:51 +1000 (EST) Received: from CHOW2KE003.optus.com.au (unknown [161.43.32.10]) by mail2.optus.com.au (Postfix) with ESMTP id 5E83820F06C for ; Mon, 4 May 2009 12:15:51 +1000 (EST) Received: from excprdhubw001.optus.com.au ([10.8.36.36]) by CHOW2KE003.optus.com.au with Microsoft SMTPSVC(6.0.3790.3959); Mon, 4 May 2009 12:15:47 +1000 Received: from excprdmbxw002.optus.com.au ([10.8.36.30]) by excprdhubw001.optus.com.au ([10.8.36.36]) with mapi; Mon, 4 May 2009 12:15:20 +1000 From: Adam Carter To: "gentoo-java@lists.gentoo.org" Date: Mon, 4 May 2009 12:15:48 +1000 Subject: [gentoo-java] Memory heap size problem Thread-Topic: Memory heap size problem Thread-Index: AcnMXj113Uz6OBmhQWuc/DcXJvn9LA== Message-ID: <5602B0BD6D59AE4791BE83104940118DC11A58D8@excprdmbxw002.optus.com.au> Accept-Language: en-US, en-AU Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-AU Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@lists.gentoo.org MIME-Version: 1.0 X-OriginalArrivalTime: 04 May 2009 02:15:47.0532 (UTC) FILETIME=[3CC538C0:01C9CC5E] X-TM-AS-Product-Ver: IMSS-7.0.0.1191-5.6.0.1016-16620.003 X-TM-AS-User-Approved-Sender: No X-TM-AS-Result-Xfilter: Match text exemption rules:Yes X-Archives-Salt: 9b3bdb7a-e2c6-4f03-82ed-eeb49df69363 X-Archives-Hash: 28ffe909ff84d1719297f0066dfa866f A cisco web java gui is complaing "Your current java memory heap size is le= ss than 256 MB. You must increate the Java memory heap size" etc. On window= s and on a previous gentoo x86 box putting -Xmx256m in the java applet runt= ime 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 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/su= n-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/j= re/lib/deploy.jar -Djnlpx.vmargs=3D-Xmx256m -Djnlpx.jvm=3D/opt/sun-jdk-1.6.= 0.13/jre/bin/java -Djnlpx.splashport=3D36054 -Djnlpx.home=3D/opt/sun-jdk-1.= 6.0.13/jre/bin -Djnlpx.remove=3Dfalse -Djnlpx.offline=3Dfalse -Djnlpx.relau= nch=3Dtrue -Djnlpx.heapsize=3D67108864,268435456 -Djava.security.policy=3Df= ile:/opt/sun-jdk-1.6.0.13/jre/lib/security/javaws.policy -DtrustProxy=3Dtru= e -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).