From owner-freebsd-java@FreeBSD.ORG Sun Aug 17 11:30:19 2008 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 927DD106566B for ; Sun, 17 Aug 2008 11:30:19 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from mail.droso.net (koala.ipv6.droso.net [IPv6:2001:6c8:6:c:20d:56ff:fe6f:f935]) by mx1.freebsd.org (Postfix) with ESMTP id 57C338FC17 for ; Sun, 17 Aug 2008 11:30:19 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from koala.droso.net (localhost.droso.net [IPv6:::1]) by mail.droso.net (Postfix) with ESMTP id 96ACC1CD18 for ; Sun, 17 Aug 2008 13:30:18 +0200 (CEST) From: linimon@FreeBSD.org To: java@freebsd.org Message-Id: <20080817113018.96ACC1CD18@mail.droso.net> Date: Sun, 17 Aug 2008 13:30:18 +0200 (CEST) Cc: Subject: FreeBSD ports that you maintain which are currently marked broken X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: portmgr-feedback@FreeBSD.org List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Aug 2008 11:30:19 -0000 Dear FreeBSD port maintainer: As part of an ongoing effort to reduce the number of problems in the FreeBSD ports system, we periodically notify users of ports that are marked as "broken" in their Makefiles. In many cases these ports are failing to compile on some subset of the FreeBSD build environments. The most common problem is that recent versions of -CURRENT include gcc4.2, which is much stricter than older versions. The next most common problem is that compiles succeed on the i386 architecture (e.g. the common Intel PC), but fail on one or more of the other architectures due to assumptions about things such as size of various types, byte-alignment issues, and so forth. In occasional cases we see that the same port may have different errors in different build environments. The script that runs on the build cluster uses heuristics to try to 'guess' the error type to help you isolate problems, but it is only a rough guide. One more note: on occasion, there are transient build errors seen on the build farm. Unfortunately, there is not yet any way for this algorithm to tell the difference (humans are much, much better at this kind of thing.) The errors are listed below. In the case where the same problem exists on more than one build environment, the URL points to the latest errorlog for that type. (By 'build environment' here we mean 'combination of 5.x/6.x/-current with target architecture'.) (Note: the dates are included to help you to gauge whether or not the error still applies to the latest version. The program that generates this report is not yet able to determine this automatically.) portname: java/java3d broken because: Does not fetch build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=java&portname=java3d If these errors are ones that you are already aware of, please accept our apologies and ignore this message. On the other hand, if you no longer wish to maintain this port (or ports), please reply with a message stating that, and accept our thanks for your efforts in the past. Every effort has been made to make sure that these error reports really do correspond to a port that you maintain. However, due to the fact that this is an automated process, it may indeed generate false matches. If one of these errors fits that description, please forward this email to the author of this software, Mark Linimon , so that he can attempt to fix the problem in the future. Thanks for your efforts to help improve FreeBSD. From owner-freebsd-java@FreeBSD.ORG Mon Aug 18 08:53:32 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6E881065676 for ; Mon, 18 Aug 2008 08:53:32 +0000 (UTC) (envelope-from shark.fin.soup@mac.com) Received: from asmtpout013.mac.com (asmtpout013.mac.com [17.148.16.88]) by mx1.freebsd.org (Postfix) with ESMTP id C1AC08FC1F for ; Mon, 18 Aug 2008 08:53:32 +0000 (UTC) (envelope-from shark.fin.soup@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [192.168.1.121] ([210.213.5.122]) by asmtp013.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0K5S007NAGP1DQ90@asmtp013.mac.com> for freebsd-java@freebsd.org; Mon, 18 Aug 2008 01:53:32 -0700 (PDT) Message-id: <5361254E-6DDC-4BCA-AAB8-8276C7DB18EE@mac.com> From: Sharkie To: freebsd-java@freebsd.org Date: Mon, 18 Aug 2008 15:51:35 +0700 X-Mailer: Apple Mail (2.919.2) Subject: Which Java Freebsd 7.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2008 08:53:32 -0000 I believe my machine is running Libthr. Should I either install 1) Install linux-sun-jdk16 from ports 2) Install Diablo from ports 3) Download Diablo as binary Do these choices make any difference? I need the best performance possible. From owner-freebsd-java@FreeBSD.ORG Mon Aug 18 11:06:52 2008 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF2281065698 for ; Mon, 18 Aug 2008 11:06:52 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E6CA28FC28 for ; Mon, 18 Aug 2008 11:06:52 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m7IB6qcc079860 for ; Mon, 18 Aug 2008 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m7IB6qhu079856 for freebsd-java@FreeBSD.org; Mon, 18 Aug 2008 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 18 Aug 2008 11:06:52 GMT Message-Id: <200808181106.m7IB6qhu079856@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-java@FreeBSD.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2008 11:06:53 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- s ports/60083 java java/jdk14 - Unsafe use of getaddrinfo in jvm 1.4.2-p5 o java/105482 java diablo-jdk1.5.0/jdk-1.5.0 java.nio.Selector bug o java/110912 java Java krb5 client leaks UDP connections o java/112595 java Java appletviewer frequently hangs (kse_release loop) o ports/113467 java Multiple "missing return value" errors building JDK on o java/114644 java tomcat goes out of PermSpace, jvm crashes o java/118496 java Eclipse packages do not work with 6.3-RC1/amd64 o java/118956 java eclipse and netbeans break on diablo-jdk15 o ports/119732 java java/linux-sun-jre16: linux-sun-jre16 plugin doesn't w o ports/120372 java java/linux-sun-jdk16: linux-sun-jre1.6.0 plugin doesn' o ports/121420 java java/jdk16: Java applet fails to find class under fire o java/121692 java java/jdk16: Java 1.5 1.5.0.14p8 crashes in RMI TCP Con o java/122513 java native JDKs unbuildable with Linux ones o java/123555 java linux-sun-jdk15, linux-sun-jdk16 produce a coredump o java/125583 java Java gui programs stop without error message 15 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- s ports/56928 java jce-aba port should install to $JAVA_HOME/jre/lib/ext s java/62837 java linux-sun-jdk14 executables hang with COMPAT_LINUX in o ports/84742 java make ports/java/jdk14 use dynamic Motif librarires o java/97461 java Diablo JDK does not report Update level in a format su o ports/113751 java java/linux-sun-jdk15: linux-sun-jdk-1.5.0.12,2 - java o java/115773 java [request] java.nio channel selectors should use kqueue o ports/116082 java java/linux-sun-jdk16 jconsole is unable to connect to o java/116667 java linux-sun-javac1.4 hangs on SMP o ports/116841 java cannot build java/jdk16 by using java/linux-sun-jdk16 o java/119063 java An unexpected error has been detected by Java Runtime o java/119654 java jdk 1.6: java.awt.SplashScreen#getSplashScreen throws o java/120146 java java/jdk15: netbeans 6.0 causes java core dump on amd6 o ports/121416 java java/jdk15 can't build if BIN environment variable is o ports/125828 java upgrade java/java3d to 1.5.2 14 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Aug 18 12:20:41 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF7EC1065677 for ; Mon, 18 Aug 2008 12:20:41 +0000 (UTC) (envelope-from shark.fin.soup@mac.com) Received: from asmtpout012.mac.com (asmtpout012.mac.com [17.148.16.87]) by mx1.freebsd.org (Postfix) with ESMTP id C85F38FC1B for ; Mon, 18 Aug 2008 12:20:41 +0000 (UTC) (envelope-from shark.fin.soup@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [10.0.1.2] ([124.120.145.216]) by asmtp012.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0K5S00M9TQA03A20@asmtp012.mac.com> for freebsd-java@freebsd.org; Mon, 18 Aug 2008 05:20:38 -0700 (PDT) Message-id: <3B156B41-D52F-4807-BB85-5CAA611EF4D6@mac.com> From: Sharkie To: Rene Ladan In-reply-to: Date: Mon, 18 Aug 2008 19:18:35 +0700 References: <5361254E-6DDC-4BCA-AAB8-8276C7DB18EE@mac.com> X-Mailer: Apple Mail (2.919.2) Cc: freebsd-java@freebsd.org Subject: Re: Which Java Freebsd 7.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2008 12:20:41 -0000 I tried linux-sun-jdk16 and get this error: /usr/local/linux-sun-jdk1.6.0/bin/java -version /usr/local/linux-sun-jdk1.6.0/bin/java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory On Aug 18, 2008, at 7:07 PM, Rene Ladan wrote: > 2008/8/18 Sharkie : >> I believe my machine is running Libthr. >> >> Should I either install >> >> 1) Install linux-sun-jdk16 from ports >> 2) Install Diablo from ports >> 3) Download Diablo as binary >> >> Do these choices make any difference? I need the best performance >> possible. >> > Option 2 and 3 should be identical, the port is a wrapper around the > diablo binaries. > > Option 1 might be faster, it probably depends on the context. You > could also try installing > java/jdk16 which installs a slightly older version than diablo does. > > HTH, > Rene > -- > http://www.rene-ladan.nl/ > > GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 > (subkeys.pgp.net) From owner-freebsd-java@FreeBSD.ORG Mon Aug 18 12:21:37 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35FDB1065682 for ; Mon, 18 Aug 2008 12:21:37 +0000 (UTC) (envelope-from jkkn@jkkn.dk) Received: from jkkntv2.jkkn.net (cl-545.sto-01.se.sixxs.net [IPv6:2001:16d8:ff00:220::2]) by mx1.freebsd.org (Postfix) with ESMTP id B303B8FC2F for ; Mon, 18 Aug 2008 12:21:36 +0000 (UTC) (envelope-from jkkn@jkkn.dk) Received: from [10.101.21.168] (pc.tv2.dk [193.88.88.10]) (authenticated bits=0) by jkkntv2.jkkn.net (envelope-from jkkn@jkkn.dk) (8.14.2/8.14.2) with ESMTP id m7ICKehk033953 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 18 Aug 2008 14:20:40 +0200 (CEST) (envelope-from jkkn@jkkn.dk) X-DKIM: Sendmail DKIM Filter v2.7.0 jkkntv2.jkkn.net m7ICKehk033953 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=jkkn.dk; s=jkkn; t=1219062046; bh=J5y1a84p2Yee5loWPc36q/lRL0Kk2f8546XOBnZ9+mg=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Rd/QvgmRu8ah w1rpwC5/CYtMk6+xysl7OC/Aj2FGFRAUXxG6eOd0h5paa1naSFHSxJ8XdyqGsOlu7Da QjVOEH6ow3YLRPoL07TMYdOTj/HMM5dXKg5UvCpiZ61sk5CEA9790KYB9dI3hNVf88r hgL5AbvpaNcU+HpRZT136CrMY= Message-ID: <48A96918.50605@jkkn.dk> Date: Mon, 18 Aug 2008 14:20:40 +0200 From: =?ISO-8859-1?Q?Kristian_Kr=E6mmer_Nielsen?= User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Greg Lewis References: <4885D0C5.7090709@jkkn.dk> <20080722194231.GA14043@misty.eyesbeyond.com> In-Reply-To: <20080722194231.GA14043@misty.eyesbeyond.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_50,SPF_NEUTRAL autolearn=no version=3.2.5 X-Spam-Report: * 0.7 SPF_NEUTRAL SPF: sender does not match SPF record (neutral) * 0.0 BAYES_50 BODY: Bayesian spam probability is 40 to 60% * [score: 0.4126] X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on jkkntv2.jkkn.net X-Virus-Scanned: ClamAV version 0.93.3, clamav-milter version 0.93.3 on jkkntv2.jkkn.net X-Virus-Status: Clean Cc: freebsd-java@freebsd.org Subject: Re: diablo-jdk16 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2008 12:21:37 -0000 Hey Greg, Thank you for creating the port. Great job :-) Regards Kristian Greg Lewis wrote: > On Tue, Jul 22, 2008 at 02:21:25PM +0200, Kristian Kr?mmer Nielsen wrote: > >> Great job getting the JDK 1.6 up for FreeBSD - looking forward to using it. >> >> BUT... I can only find tarballs on the website? - any news about when we >> can expect it to appear in ports/java/ and/or as packages? >> > > Soon... I would expect it in a couple of days. > > From owner-freebsd-java@FreeBSD.ORG Mon Aug 18 12:32:45 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA15E106566B for ; Mon, 18 Aug 2008 12:32:45 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.181]) by mx1.freebsd.org (Postfix) with ESMTP id 80E878FC12 for ; Mon, 18 Aug 2008 12:32:45 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by py-out-1112.google.com with SMTP id p76so1617783pyb.10 for ; Mon, 18 Aug 2008 05:32:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=5wMaxNoCfrox9eDjlJprRG6kpcLvvujHsv1vPMtpsNg=; b=bYFZB/3yz3hOpWSZqD8789TyJdWU4xYJyzteEfyF1RkbFwCMzBceXCAfIqVnPykW4E Is31dnWjwsfw6lbtFhcMslSOOOJngZCakgSZncIe4GXlOlay6sV9OFY2WBklFnlURv9D LyY+89i462tvQR3vGwg8OT9wby7tOYBzcYjLQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=iYvCHHlWVqCzXEM+MWVqqDMwj8sBko4sv4Ot2aGI/JLJ6UACSlUNnMOC12ZcHnO6md 8lWpY/7nk05dzrns3Nf1h8wttJ38GbArOk5lebbZdqQarIABmYbPaag0pqzx8ygeji6j iwGq7KP15cFKZcWmoSBM055g7nbcJXjXQE0v0= Received: by 10.114.124.1 with SMTP id w1mr4935779wac.57.1219061272662; Mon, 18 Aug 2008 05:07:52 -0700 (PDT) Received: by 10.115.94.8 with HTTP; Mon, 18 Aug 2008 05:07:52 -0700 (PDT) Message-ID: Date: Mon, 18 Aug 2008 14:07:52 +0200 From: "Rene Ladan" To: Sharkie In-Reply-To: <5361254E-6DDC-4BCA-AAB8-8276C7DB18EE@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5361254E-6DDC-4BCA-AAB8-8276C7DB18EE@mac.com> Cc: freebsd-java@freebsd.org Subject: Re: Which Java Freebsd 7.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2008 12:32:45 -0000 2008/8/18 Sharkie : > I believe my machine is running Libthr. > > Should I either install > > 1) Install linux-sun-jdk16 from ports > 2) Install Diablo from ports > 3) Download Diablo as binary > > Do these choices make any difference? I need the best performance possible. > Option 2 and 3 should be identical, the port is a wrapper around the diablo binaries. Option 1 might be faster, it probably depends on the context. You could also try installing java/jdk16 which installs a slightly older version than diablo does. HTH, Rene -- http://www.rene-ladan.nl/ GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) From owner-freebsd-java@FreeBSD.ORG Mon Aug 18 14:05:43 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C47A1065672 for ; Mon, 18 Aug 2008 14:05:43 +0000 (UTC) (envelope-from jfl@robinlea.com) Received: from 28amen.org (28amen.org [204.3.153.218]) by mx1.freebsd.org (Postfix) with ESMTP id 07ADD8FC0C for ; Mon, 18 Aug 2008 14:05:42 +0000 (UTC) (envelope-from jfl@robinlea.com) Received: from [192.168.1.34] (118.172.70.229.adsl.dynamic.totbb.net [118.172.70.229]) (authenticated bits=0) by 28amen.org (8.13.6.20060614/8.13.6) with ESMTP id m7IDUAWG029593 for ; Mon, 18 Aug 2008 13:30:14 GMT Message-ID: <48A9795A.70706@robinlea.com> Date: Mon, 18 Aug 2008 20:30:02 +0700 From: John Francis Lee User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: freebsd-java@freebsd.org References: <5361254E-6DDC-4BCA-AAB8-8276C7DB18EE@mac.com> <3B156B41-D52F-4807-BB85-5CAA611EF4D6@mac.com> In-Reply-To: <3B156B41-D52F-4807-BB85-5CAA611EF4D6@mac.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Which Java Freebsd 7.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2008 14:05:43 -0000 What about this : http://www.eyesbeyond.com/freebsddom/java/jdk16.html > 2008/8/18 Sharkie : >> I believe my machine is running Libthr. >> >> Should I either install >> >> 1) Install linux-sun-jdk16 from ports >> 2) Install Diablo from ports >> 3) Download Diablo as binary >> >> Do these choices make any difference? I need the best performance >> possible. >> > Option 2 and 3 should be identical, the port is a wrapper around the > diablo binaries. > > Option 1 might be faster, it probably depends on the context. You > could also try installing > java/jdk16 which installs a slightly older version than diablo does. > > HTH, > Rene > -- > http://www.rene-ladan.nl/ > > GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 > (subkeys.pgp.net) -- "This message may have been intercepted and read by U.S. government agencies including the FBI, CIA, and NSA without notice or warrant or knowledge of sender or recipient." John Francis Lee 1025/37 Thanon Jet Yawt T.Wiang A.Mueang J.Chiangrai 57000 From owner-freebsd-java@FreeBSD.ORG Mon Aug 18 17:38:58 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B003D1065680 for ; Mon, 18 Aug 2008 17:38:58 +0000 (UTC) (envelope-from shark.fin.soup@mac.com) Received: from asmtpout013.mac.com (asmtpout013.mac.com [17.148.16.88]) by mx1.freebsd.org (Postfix) with ESMTP id 994EA8FC12 for ; Mon, 18 Aug 2008 17:38:58 +0000 (UTC) (envelope-from shark.fin.soup@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [10.0.1.2] ([124.120.145.216]) by asmtp013.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0K5T009CB508AQ70@asmtp013.mac.com> for freebsd-java@freebsd.org; Mon, 18 Aug 2008 10:38:46 -0700 (PDT) Message-id: <2849C2B9-6990-4F51-A430-06E99D745816@mac.com> From: Sharkie To: freebsd-java@freebsd.org Date: Tue, 19 Aug 2008 00:36:43 +0700 X-Mailer: Apple Mail (2.919.2) Subject: Why cannot I allocate more than -Xmx700M X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2008 17:38:58 -0000 last pid: 1526; load averages: 1.17, 0.90, 0.47 up 0+00:09:36 00:31:59 105 processes: 1 running, 104 sleeping CPU: 10.0% user, 0.0% nice, 1.1% system, 0.0% interrupt, 88.9% idle Mem: 948M Active, 422M Inact, 126M Wired, 1516K Cache, 112M Buf, 1506M Free Swap: 16G Total, 16G Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 1500 root 56 49 0 904M 552M ucond 5 0:06 77.20% java 757 mysql 12 4 0 1156M 436M sbwait 1 0:26 15.72% mysqld My machine does have more than 700M available when I try to start my Java app, but I could only do at most 700M. Is there an artificial limit or something that I cannot see here? I have 1506M remaining, which I cannot use in this single java app? However, if I launch 5 Java app each getting 300M heap, then I have no problem. It's really odd. Is there a way I can override FreeBSD and assign to this Java app all that I think it deserve? From owner-freebsd-java@FreeBSD.ORG Mon Aug 18 17:52:24 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8304106566B for ; Mon, 18 Aug 2008 17:52:24 +0000 (UTC) (envelope-from kjkoster@kjkoster.org) Received: from www.kjkoster.org (kjkoster.org [80.101.182.197]) by mx1.freebsd.org (Postfix) with ESMTP id 3AEBE8FC1E for ; Mon, 18 Aug 2008 17:52:23 +0000 (UTC) (envelope-from kjkoster@kjkoster.org) Received: from [192.168.0.1] (mac [192.168.0.1]) by www.kjkoster.org (8.14.2/8.14.2) with ESMTP id m7IHqF2s067490; Mon, 18 Aug 2008 19:52:23 +0200 (CEST) (envelope-from kjkoster@kjkoster.org) Message-Id: <42FAE86A-EF08-4D88-B0D1-284934EB216E@kjkoster.org> From: Kees Jan Koster To: Sharkie , freebsd-java@freebsd.org In-Reply-To: <5361254E-6DDC-4BCA-AAB8-8276C7DB18EE@mac.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v928.1) Date: Mon, 18 Aug 2008 14:22:10 +0200 References: <5361254E-6DDC-4BCA-AAB8-8276C7DB18EE@mac.com> X-Mailer: Apple Mail (2.928.1) Cc: Subject: Re: Which Java Freebsd 7.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2008 17:52:24 -0000 Dear Sharkie, > I believe my machine is running Libthr. > > Should I either install > > 1) Install linux-sun-jdk16 from ports > 2) Install Diablo from ports > 3) Download Diablo as binary > > Do these choices make any difference? I need the best performance > possible. I doubt it makes much of a difference, although threading performance may be different. I use the native port for all of my work. Perhaps you can just install all of them and do a quick benchmark? If there is a serious difference between these, it should show up. -- Kees Jan http://java-monitor.com/forum/ kjkoster@kjkoster.org 06-51838192 Human beings make life so interesting. Do you know that in a universe so full of wonders, they have managed to invent boredom. Quite astonishing... -- Terry Partchett From owner-freebsd-java@FreeBSD.ORG Mon Aug 18 18:36:18 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26FCB1065672 for ; Mon, 18 Aug 2008 18:36:18 +0000 (UTC) (envelope-from kjkoster@kjkoster.org) Received: from www.kjkoster.org (kjkoster.org [80.101.182.197]) by mx1.freebsd.org (Postfix) with ESMTP id 93CAF8FC15 for ; Mon, 18 Aug 2008 18:36:17 +0000 (UTC) (envelope-from kjkoster@kjkoster.org) Received: from [192.168.0.1] (mac [192.168.0.1]) by www.kjkoster.org (8.14.2/8.14.2) with ESMTP id m7IIa99K068518; Mon, 18 Aug 2008 20:36:16 +0200 (CEST) (envelope-from kjkoster@kjkoster.org) Message-Id: <97C57C69-1708-4176-86BC-E2B733BF0ACA@kjkoster.org> From: Kees Jan Koster To: Sharkie In-Reply-To: <2849C2B9-6990-4F51-A430-06E99D745816@mac.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v928.1) Date: Mon, 18 Aug 2008 20:36:08 +0200 References: <2849C2B9-6990-4F51-A430-06E99D745816@mac.com> X-Mailer: Apple Mail (2.928.1) Cc: freebsd-java@freebsd.org Subject: Re: Why cannot I allocate more than -Xmx700M X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2008 18:36:18 -0000 Dear Sharkie, > My machine does have more than 700M available when I try to start my > Java app, but I could only do at most 700M. What error did you get when you tried it? > Is there an artificial limit or something that I cannot see here? I > have 1506M remaining, which I cannot use in this single java app? I should not think so. -- Kees Jan http://java-monitor.com/forum/ kjkoster@kjkoster.org 06-51838192 Rule 1 for being in a hole: stop digging. From owner-freebsd-java@FreeBSD.ORG Mon Aug 18 19:44:33 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 049671065678 for ; Mon, 18 Aug 2008 19:44:33 +0000 (UTC) (envelope-from shark.fin.soup@mac.com) Received: from asmtpout019.mac.com (asmtpout019.mac.com [17.148.16.94]) by mx1.freebsd.org (Postfix) with ESMTP id DB5848FC16 for ; Mon, 18 Aug 2008 19:44:32 +0000 (UTC) (envelope-from shark.fin.soup@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [10.0.1.2] ([124.120.145.216]) by asmtp019.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0K5T00A12ATU6UA0@asmtp019.mac.com> for freebsd-java@freebsd.org; Mon, 18 Aug 2008 12:44:32 -0700 (PDT) Message-id: <7B413A97-AC11-4FD4-9BD5-40CC21593488@mac.com> From: Sharkie To: freebsd-java@freebsd.org In-reply-to: <97C57C69-1708-4176-86BC-E2B733BF0ACA@kjkoster.org> Date: Tue, 19 Aug 2008 02:42:28 +0700 References: <2849C2B9-6990-4F51-A430-06E99D745816@mac.com> <97C57C69-1708-4176-86BC-E2B733BF0ACA@kjkoster.org> X-Mailer: Apple Mail (2.919.2) Cc: Kees Jan Koster Subject: Re: Why cannot I allocate more than -Xmx700M X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2008 19:44:33 -0000 It's very odd that I have been getting this error. %/usr/local/jruby/bin/jruby -J-Xmx1000M --server /usr/local/bin/ glassfish_rails /home/www/app Error occurred during initialization of VM Could not reserve enough space for object heap # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x88102a19, pid=3183, tid=0x8103200 # # Java VM: Diablo Java HotSpot(TM) Server VM (10.0-b23 mixed mode bsd- x86) # Problematic frame: # C [libc.so.7+0x62a19] free+0x49 # # An error report file with more information is saved as: # /home/www/hs_err_pid3183.log # # Please submit bug reports to freebsd-java@FreeBSD.org # Abort (core dumped) On Aug 19, 2008, at 1:36 AM, Kees Jan Koster wrote: > Dear Sharkie, > >> My machine does have more than 700M available when I try to start >> my Java app, but I could only do at most 700M. > > What error did you get when you tried it? > >> Is there an artificial limit or something that I cannot see here? I >> have 1506M remaining, which I cannot use in this single java app? > > I should not think so. > -- > Kees Jan > > http://java-monitor.com/forum/ > kjkoster@kjkoster.org > 06-51838192 > > Rule 1 for being in a hole: stop digging. > From owner-freebsd-java@FreeBSD.ORG Mon Aug 18 20:04:39 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EEEC106567D for ; Mon, 18 Aug 2008 20:04:39 +0000 (UTC) (envelope-from spatula@spatula.net) Received: from gv-out-0910.google.com (gv-out-0910.google.com [216.239.58.188]) by mx1.freebsd.org (Postfix) with ESMTP id 00F008FC0A for ; Mon, 18 Aug 2008 20:04:38 +0000 (UTC) (envelope-from spatula@spatula.net) Received: by gv-out-0910.google.com with SMTP id n8so545868gve.39 for ; Mon, 18 Aug 2008 13:04:37 -0700 (PDT) Received: by 10.103.176.2 with SMTP id d2mr4191330mup.134.1219089877460; Mon, 18 Aug 2008 13:04:37 -0700 (PDT) Received: by 10.102.253.7 with HTTP; Mon, 18 Aug 2008 13:04:37 -0700 (PDT) Message-ID: Date: Mon, 18 Aug 2008 13:04:37 -0700 From: "Nicklas Johnson" Sender: spatula@spatula.net To: Sharkie In-Reply-To: <7B413A97-AC11-4FD4-9BD5-40CC21593488@mac.com> MIME-Version: 1.0 References: <2849C2B9-6990-4F51-A430-06E99D745816@mac.com> <97C57C69-1708-4176-86BC-E2B733BF0ACA@kjkoster.org> <7B413A97-AC11-4FD4-9BD5-40CC21593488@mac.com> X-Google-Sender-Auth: 9d0183ec78732e51 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-java@freebsd.org Subject: Re: Why cannot I allocate more than -Xmx700M X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2008 20:04:39 -0000 Can you start ANY program in your environment that needs to allocate larger than a 700MB heap, or with a total process of a size greater than about 1000MB (accounting for the size of the JVM itself)? Does "limits" say anything interesting about datasize? Nick 2008/8/18 Sharkie > It's very odd that I have been getting this error. > > %/usr/local/jruby/bin/jruby -J-Xmx1000M --server > /usr/local/bin/glassfish_rails /home/www/app > Error occurred during initialization of VM > Could not reserve enough space for object heap > > -- "Courage isn't just a matter of not being frightened, you know. It's being afraid and doing what you have to do anyway." -- Doctor Who - Planet of the Daleks This message has been brought to you by Nick Johnson 2.3b1 and the number 6. http://healerNick.com/ http://morons.org/ http://spatula.net/ From owner-freebsd-java@FreeBSD.ORG Mon Aug 18 21:22:45 2008 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B84D1065673 for ; Mon, 18 Aug 2008 21:22:45 +0000 (UTC) (envelope-from bounce@ukfmjobs.co.uk) Received: from S15288346.ukfmjobs.co.uk (s15288346.onlinehome-server.info [87.106.220.171]) by mx1.freebsd.org (Postfix) with ESMTP id 059198FC19 for ; Mon, 18 Aug 2008 21:22:43 +0000 (UTC) (envelope-from bounce@ukfmjobs.co.uk) Received: from www.ukfmjobs.co.uk ([87.106.220.171]) by ukfmjobs.co.uk with MailEnable ESMTP; Sun, 17 Aug 2008 23:13:14 +0200 To: java@freebsd.org Message-ID: Date: Sun, 17 Aug 2008 22:55:24 +0200 From: "Call 0207 520 2635 to recruit the best FM, Property, Admin, Construction and Building Maintenance Staff" MIME-Version: 1.0 X-Mailer-LID: 118, 104, 105, 89, 69, 90, 55, 75, 59, 25, 40, 9, 33, 19, 16, 67, 37, 30, 20, 36, 10, 11, 134, 22, 47, 48, 50, 3, 87, 123, 99, 125, 120, 60, 78, 113, 38, 81, 82, 41, 62, 129, 83, 56, 96, 110, 119, 115, 4, 42, 109, 35, 117, 28, 2, 85, 100, 86, 34, 32, 126, 14, 73, 74, 102, 128, 27, 80, 61, 97, 101, 21, 71, 6, 18, 58, 103, 26, 57, 70, 133, 39, 24, 122, 29, 107, 84, 54, 8, 44, 52, 130, 64, 65, 43, 116 X-Mailer-SID: 244 X-Mailer-Sent-By: 1 Content-Type: text/plain; format=flowed; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: If you are looking to increase your monthly commissions or simply looking for good talent to join your organisation then call a member of our sales team on 0207 520 2635 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: reply@ukfmjobs.co.uk List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2008 21:22:45 -0000 Your email client cannot read this email. To view it online, please go here: http://www.ukfmjobs.co.uk/sendstudionx/display.php?M=359116&C=3c4aaa0f8b02bebf6a5c5d3121eebd8f&S=244&L=44&N=161 To stop receiving these emails:http://www.ukfmjobs.co.uk/sendstudionx/unsubscribe.php?M=359116&N=244&L=44&C=3c4aaa0f8b02bebf6a5c5d3121eebd8f From owner-freebsd-java@FreeBSD.ORG Tue Aug 19 02:46:59 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05FDA106566C for ; Tue, 19 Aug 2008 02:46:59 +0000 (UTC) (envelope-from shark.fin.soup@mac.com) Received: from asmtpout022.mac.com (asmtpout022.mac.com [17.148.16.97]) by mx1.freebsd.org (Postfix) with ESMTP id E89A18FC1A for ; Tue, 19 Aug 2008 02:46:58 +0000 (UTC) (envelope-from shark.fin.soup@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [192.168.1.121] ([210.213.5.122]) by asmtp022.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0K5T00L7JUE6L680@asmtp022.mac.com> for freebsd-java@freebsd.org; Mon, 18 Aug 2008 19:46:58 -0700 (PDT) Message-id: <6E041876-88CC-45CB-9739-C3EB5686EEF5@mac.com> From: Sharkie To: freebsd-java@freebsd.org In-reply-to: Date: Tue, 19 Aug 2008 09:45:03 +0700 References: <2849C2B9-6990-4F51-A430-06E99D745816@mac.com> <97C57C69-1708-4176-86BC-E2B733BF0ACA@kjkoster.org> <7B413A97-AC11-4FD4-9BD5-40CC21593488@mac.com> X-Mailer: Apple Mail (2.919.2) Cc: Subject: Re: Why cannot I allocate more than -Xmx700M X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2008 02:46:59 -0000 %limit cputime unlimited filesize unlimited datasize 2097152 kbytes stacksize 262144 kbytes coredumpsize unlimited memoryuse unlimited vmemoryuse unlimited descriptors 11095 memorylocked unlimited maxproc 5547 sbsize unlimited %cat loader.conf kern.maxdsiz="2G" kern.dfldsiz="2G" kern.maxssiz="256M" geom_mirror_load="YES" My other apps have no problem allocating greater than that. On Aug 19, 2008, at 3:04 AM, Nicklas Johnson wrote: > Can you start ANY program in your environment that needs to allocate > larger > than a 700MB heap, or with a total process of a size greater than > about > 1000MB (accounting for the size of the JVM itself)? > > Does "limits" say anything interesting about datasize? > > Nick > > 2008/8/18 Sharkie > >> It's very odd that I have been getting this error. >> >> %/usr/local/jruby/bin/jruby -J-Xmx1000M --server >> /usr/local/bin/glassfish_rails /home/www/app >> Error occurred during initialization of VM >> Could not reserve enough space for object heap >> >> > -- > "Courage isn't just a matter of not being frightened, you know. It's > being > afraid and doing what you have to do anyway." > -- Doctor Who - Planet of the Daleks > This message has been brought to you by Nick Johnson 2.3b1 and the > number 6. > http://healerNick.com/ http://morons.org/ http://spatula.net/ > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java- > unsubscribe@freebsd.org" From owner-freebsd-java@FreeBSD.ORG Tue Aug 19 05:51:54 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A351B1065677 for ; Tue, 19 Aug 2008 05:51:54 +0000 (UTC) (envelope-from spatula@spatula.net) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id 522918FC1F for ; Tue, 19 Aug 2008 05:51:54 +0000 (UTC) (envelope-from spatula@spatula.net) Received: by ug-out-1314.google.com with SMTP id o4so366101uge.39 for ; Mon, 18 Aug 2008 22:51:53 -0700 (PDT) Received: by 10.103.243.9 with SMTP id v9mr4506036mur.44.1219125113168; Mon, 18 Aug 2008 22:51:53 -0700 (PDT) Received: by 10.102.253.7 with HTTP; Mon, 18 Aug 2008 22:51:53 -0700 (PDT) Message-ID: Date: Mon, 18 Aug 2008 22:51:53 -0700 From: "Nicklas Johnson" Sender: spatula@spatula.net To: Sharkie In-Reply-To: <6E041876-88CC-45CB-9739-C3EB5686EEF5@mac.com> MIME-Version: 1.0 References: <2849C2B9-6990-4F51-A430-06E99D745816@mac.com> <97C57C69-1708-4176-86BC-E2B733BF0ACA@kjkoster.org> <7B413A97-AC11-4FD4-9BD5-40CC21593488@mac.com> <6E041876-88CC-45CB-9739-C3EB5686EEF5@mac.com> X-Google-Sender-Auth: 7b69c689e949f720 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-java@freebsd.org Subject: Re: Why cannot I allocate more than -Xmx700M X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2008 05:51:54 -0000 What does ktrace tell you? e.g.: ktrace java -verbose:gc -Xmx1000m Foo.class kdump -t csu | grep -B 1 errno Any interesting system calls or results from system calls prior to the error being issued? Anything interesting printed by the garbage collector in verbose mode? 2008/8/18 Sharkie > > > > My other apps have no problem allocating greater than that. > > > -- "Courage isn't just a matter of not being frightened, you know. It's being afraid and doing what you have to do anyway." -- Doctor Who - Planet of the Daleks This message has been brought to you by Nick Johnson 2.3b1 and the number 6. http://healerNick.com/ http://morons.org/ http://spatula.net/ From owner-freebsd-java@FreeBSD.ORG Tue Aug 19 06:03:47 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED970106566C for ; Tue, 19 Aug 2008 06:03:47 +0000 (UTC) (envelope-from shark.fin.soup@mac.com) Received: from asmtpout011.mac.com (asmtpout011.mac.com [17.148.16.86]) by mx1.freebsd.org (Postfix) with ESMTP id E73018FC15 for ; Tue, 19 Aug 2008 06:03:47 +0000 (UTC) (envelope-from shark.fin.soup@mac.com) MIME-version: 1.0 Received: from [192.168.1.121] ([210.213.5.122]) by asmtp011.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0K5U00B993HUFK80@asmtp011.mac.com> for freebsd-java@freebsd.org; Mon, 18 Aug 2008 23:03:47 -0700 (PDT) Message-id: <5AD97FD4-50C1-4C43-93FE-4EA7F782D03E@mac.com> From: Sharkie To: freebsd-java@freebsd.org In-reply-to: Date: Tue, 19 Aug 2008 13:01:40 +0700 References: <2849C2B9-6990-4F51-A430-06E99D745816@mac.com> <97C57C69-1708-4176-86BC-E2B733BF0ACA@kjkoster.org> <7B413A97-AC11-4FD4-9BD5-40CC21593488@mac.com> <6E041876-88CC-45CB-9739-C3EB5686EEF5@mac.com> X-Mailer: Apple Mail (2.919.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Why cannot I allocate more than -Xmx700M X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2008 06:03:48 -0000 I get the following, which I have no idea how to read %kdump -t csu | grep -B 1 errno 1038 bash CALL open(0x880f4ad2,O_RDONLY,0x1b6) 1038 bash RET open -1 errno 2 No such file or directory -- 1038 bash CALL access(0x88103000,F_OK) 1038 bash RET access -1 errno 2 No such file or directory 1038 bash CALL access(0x88103000,F_OK) 1038 bash RET access -1 errno 2 No such file or directory 1038 bash CALL access(0x88103000,F_OK) 1038 bash RET access -1 errno 2 No such file or directory -- 1038 bash CALL access(0x88103000,F_OK) 1038 bash RET access -1 errno 2 No such file or directory 1038 bash CALL access(0x88103000,F_OK) 1038 bash RET access -1 errno 2 No such file or directory 1038 bash CALL access(0x88103000,F_OK) 1038 bash RET access -1 errno 2 No such file or directory -- 1038 bash CALL readlink(0x88300537,0xbfbfe8c0,0x3f) 1038 bash RET readlink -1 errno 2 No such file or directory -- 1038 bash CALL wait4(0xffffffff,0xbfbfdef8,WNOHANG,0) 1038 bash RET wait4 -1 errno 10 No child processes -- 1038 bash CALL wait4(0xffffffff,0xbfbfdf68,WNOHANG,0) 1038 bash RET wait4 -1 errno 10 No child processes -- 1038 bash CALL wait4(0xffffffff,0xbfbfdf68,WNOHANG,0) 1038 bash RET wait4 -1 errno 10 No child processes -- 1038 java CALL open(0x8807bad2,O_RDONLY,0x1b6) 1038 java RET open -1 errno 2 No such file or directory -- 1038 java CALL readlink(0x8817db40,0xbfbfe347,0x400) 1038 java RET readlink -1 errno 2 No such file or directory -- 1038 java CALL readlink(0x80585b4,0xbfbfdcd7,0x400) 1038 java RET readlink -1 errno 2 No such file or directory -- 1038 java CALL access(0xbfbfdce4,F_OK) 1038 java RET access -1 errno 2 No such file or directory -- 1038 java CALL open(0x8807bad2,O_RDONLY,0x1b6) 1038 java RET open -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory -- 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory -- 1038 java CALL readlink(0x8817db40,0xbfbfe2a7,0x400) 1038 java RET readlink -1 errno 2 No such file or directory -- 1038 java CALL readlink(0x80585b4,0xbfbfdc37,0x400) 1038 java RET readlink -1 errno 2 No such file or directory -- 1038 java CALL access(0xbfbfdc44,F_OK) 1038 java RET access -1 errno 2 No such file or directory -- 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory -- 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory -- 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory -- 1038 java CALL open(0x887557dc,O_RDONLY,0x1b6) 1038 java RET open -1 errno 2 No such file or directory 1038 java CALL stat(0x82071c0,0xbf9fe72c) 1038 java RET stat -1 errno 2 No such file or directory -- 1038 java CALL ioctl(0x3,TIOCGETA,0xbf9fe978) 1038 java RET ioctl -1 errno 25 Inappropriate ioctl for device -- 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory -- 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory -- 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory -- 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory -- 1038 java CALL ioctl(0x3,TIOCGETA,0xbf9fe978) 1038 java RET ioctl -1 errno 25 Inappropriate ioctl for device -- 1038 java CALL mkdir(0x8205820,S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP| S_IXGRP|S_IROTH|S_IXOTH) 1038 java RET mkdir -1 errno 17 File exists -- 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory 1038 java CALL access(0x88089000,F_OK) 1038 java RET access -1 errno 2 No such file or directory -- 1038 java CALL stat(0xbf9fe400,0xbf9fec38) 1038 java RET stat -1 errno 2 No such file or directory -- 1038 java CALL stat(0xbf9fe400,0xbf9fec38) 1038 java RET stat -1 errno 2 No such file or directory -- 1038 java CALL mmap(0,0x42800000,PROT_READ|PROT_WRITE| PROT_EXEC,MAP_PRIVATE|MAP_NORESERVE|MAP_ANON,0xffffffff,0,0) 1038 java RET mmap -1 errno 12 Cannot allocate memory -- 1038 java CALL open(0x88786853,O_RDONLY,0) 1038 java RET open -1 errno 2 No such file or directory 1038 java CALL open(0x88786869,O_RDONLY,0) 1038 java RET open -1 errno 2 No such file or directory 1038 java CALL open(0x8878687a,O_RDONLY,0) 1038 java RET open -1 errno 2 No such file or directory 1038 java CALL open(0x8878688e,O_RDONLY,0) 1038 java RET open -1 errno 2 No such file or directory 1038 java CALL open(0x887868a0,O_RDONLY,0) 1038 java RET open -1 errno 2 No such file or directory 1038 java CALL open(0x887868b6,O_RDONLY,0) 1038 java RET open -1 errno 2 No such file or directory 1038 java CALL open(0x887868ca,O_RDONLY,0) 1038 java RET open -1 errno 2 No such file or directory On Aug 19, 2008, at 12:51 PM, Nicklas Johnson wrote: > What does ktrace tell you? > > e.g.: > > ktrace java -verbose:gc -Xmx1000m Foo.class > kdump -t csu | grep -B 1 errno > > Any interesting system calls or results from system calls prior to > the error being issued? Anything interesting printed by the garbage > collector in verbose mode? > > 2008/8/18 Sharkie > > > > My other apps have no problem allocating greater than that. > > > > > -- > "Courage isn't just a matter of not being frightened, you know. It's > being afraid and doing what you have to do anyway." > -- Doctor Who - Planet of the Daleks > This message has been brought to you by Nick Johnson 2.3b1 and the > number 6. > http://healerNick.com/ http://morons.org/ http://spatula.net/ From owner-freebsd-java@FreeBSD.ORG Tue Aug 19 06:36:36 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 567A1106566C for ; Tue, 19 Aug 2008 06:36:36 +0000 (UTC) (envelope-from spatula@spatula.net) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id E59C18FC15 for ; Tue, 19 Aug 2008 06:36:35 +0000 (UTC) (envelope-from spatula@spatula.net) Received: by ug-out-1314.google.com with SMTP id o4so372803uge.39 for ; Mon, 18 Aug 2008 23:36:34 -0700 (PDT) Received: by 10.103.221.13 with SMTP id y13mr4535070muq.41.1219127794415; Mon, 18 Aug 2008 23:36:34 -0700 (PDT) Received: by 10.102.253.7 with HTTP; Mon, 18 Aug 2008 23:36:34 -0700 (PDT) Message-ID: Date: Mon, 18 Aug 2008 23:36:34 -0700 From: "Nicklas Johnson" Sender: spatula@spatula.net To: Sharkie In-Reply-To: <5AD97FD4-50C1-4C43-93FE-4EA7F782D03E@mac.com> MIME-Version: 1.0 References: <2849C2B9-6990-4F51-A430-06E99D745816@mac.com> <97C57C69-1708-4176-86BC-E2B733BF0ACA@kjkoster.org> <7B413A97-AC11-4FD4-9BD5-40CC21593488@mac.com> <6E041876-88CC-45CB-9739-C3EB5686EEF5@mac.com> <5AD97FD4-50C1-4C43-93FE-4EA7F782D03E@mac.com> X-Google-Sender-Auth: f7bf339171db8600 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-java@freebsd.org Subject: Re: Why cannot I allocate more than -Xmx700M X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2008 06:36:36 -0000 2008/8/18 Sharkie > > I get the following, which I have no idea how to read > > %kdump -t csu | grep -B 1 errno > > 1038 java CALL > mmap(0,0x42800000,PROT_READ|PROT_WRITE|PROT_EXEC,MAP_PRIVATE|MAP_NORESERVE|MAP_ANON,0xffffffff,0,0) > 1038 java RET mmap -1 errno 12 Cannot allocate memory > There's your answer. The JVM is trying to mmap 1064MB of contiguous virtual memory, and the OS says "no". The limitation isn't coming from the JVM. It's coming from the OS. The problem you'll need to solve is why you can't mmap more. Either there isn't that much contiguous virtual memory left, or you're hitting some other system limitation. Nick -- "Courage isn't just a matter of not being frightened, you know. It's being afraid and doing what you have to do anyway." -- Doctor Who - Planet of the Daleks This message has been brought to you by Nick Johnson 2.3b1 and the number 6. http://healerNick.com/ http://morons.org/ http://spatula.net/ From owner-freebsd-java@FreeBSD.ORG Tue Aug 19 07:11:02 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56F301065700 for ; Tue, 19 Aug 2008 07:11:02 +0000 (UTC) (envelope-from yuri@irfu.se) Received: from atthis.its.uu.se (atthis.its.uu.se [130.238.7.58]) by mx1.freebsd.org (Postfix) with ESMTP id 153E68FC18 for ; Tue, 19 Aug 2008 07:11:01 +0000 (UTC) (envelope-from yuri@irfu.se) Received: from hq.irfu.se (hq.irfu.se [130.238.30.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by atthis.its.uu.se (Postfix) with ESMTP id 1833C100E14; Tue, 19 Aug 2008 08:54:07 +0200 (CEST) Received: from [192.168.115.167] (pd95b2346.dip0.t-ipconnect.de [217.91.35.70]) (authenticated bits=0) by hq.irfu.se (8.14.2/8.14.2) with ESMTP id m7J6s2u7019434 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 19 Aug 2008 08:54:03 +0200 (CEST) (envelope-from yuri@irfu.se) Message-ID: <48AA6E00.7040408@irfu.se> Date: Tue, 19 Aug 2008 08:53:52 +0200 From: Yuri Khotyaintsev User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Nicklas Johnson References: <2849C2B9-6990-4F51-A430-06E99D745816@mac.com> <97C57C69-1708-4176-86BC-E2B733BF0ACA@kjkoster.org> <7B413A97-AC11-4FD4-9BD5-40CC21593488@mac.com> <6E041876-88CC-45CB-9739-C3EB5686EEF5@mac.com> <5AD97FD4-50C1-4C43-93FE-4EA7F782D03E@mac.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.6 required=7.0 tests=BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on hq.irfu.se X-Virus-Scanned: Debian amavisd-new at localdomain Cc: freebsd-java@freebsd.org, Sharkie Subject: Re: Why cannot I allocate more than -Xmx700M X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2008 07:11:02 -0000 Nicklas Johnson wrote: > 2008/8/18 Sharkie > > >> I get the following, which I have no idea how to read >> >> %kdump -t csu | grep -B 1 errno >> >> 1038 java CALL >> mmap(0,0x42800000,PROT_READ|PROT_WRITE|PROT_EXEC,MAP_PRIVATE|MAP_NORESERVE|MAP_ANON,0xffffffff,0,0) >> 1038 java RET mmap -1 errno 12 Cannot allocate memory >> >> > > There's your answer. > > The JVM is trying to mmap 1064MB of contiguous virtual memory, and the OS > says "no". > > The limitation isn't coming from the JVM. It's coming from the OS. The > problem you'll need to solve is why you can't mmap more. Either there isn't > that much contiguous virtual memory left, or you're hitting some other > system limitation. > > You can try reducing kern.maxdsiz and kern.dfldsiz in order to give mmap more space. Yuri -- Dr. Yuri Khotyaintsev Institutet för rymdfysik (IRF), Uppsala From owner-freebsd-java@FreeBSD.ORG Tue Aug 19 07:27:57 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 174CB106567A for ; Tue, 19 Aug 2008 07:27:57 +0000 (UTC) (envelope-from shark.fin.soup@mac.com) Received: from asmtpout018.mac.com (asmtpout018.mac.com [17.148.16.93]) by mx1.freebsd.org (Postfix) with ESMTP id 00F378FC1D for ; Tue, 19 Aug 2008 07:27:56 +0000 (UTC) (envelope-from shark.fin.soup@mac.com) MIME-version: 1.0 Content-type: text/plain; charset=UTF-8; format=flowed; delsp=yes Received: from [192.168.1.121] ([210.213.5.122]) by asmtp018.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0K5U00MBK7EGE430@asmtp018.mac.com> for freebsd-java@freebsd.org; Tue, 19 Aug 2008 00:27:56 -0700 (PDT) Message-id: <728977D1-FDFA-495B-80D3-D9D060FA5082@mac.com> From: Sharkie To: Yuri Khotyaintsev In-reply-to: <48AA6E00.7040408@irfu.se> Content-transfer-encoding: quoted-printable Date: Tue, 19 Aug 2008 14:26:01 +0700 References: <2849C2B9-6990-4F51-A430-06E99D745816@mac.com> <97C57C69-1708-4176-86BC-E2B733BF0ACA@kjkoster.org> <7B413A97-AC11-4FD4-9BD5-40CC21593488@mac.com> <6E041876-88CC-45CB-9739-C3EB5686EEF5@mac.com> <5AD97FD4-50C1-4C43-93FE-4EA7F782D03E@mac.com> <48AA6E00.7040408@irfu.se> X-Mailer: Apple Mail (2.919.2) Cc: freebsd-java@freebsd.org Subject: Re: Why cannot I allocate more than -Xmx700M X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2008 07:27:57 -0000 Thanks I think I was 1 GIG of physical ram. I am getting service in for my =20 machine now. On Aug 19, 2008, at 1:53 PM, Yuri Khotyaintsev wrote: > Nicklas Johnson wrote: >> 2008/8/18 Sharkie >> >> >>> I get the following, which I have no idea how to read >>> >>> %kdump -t csu | grep -B 1 errno >>> >>> 1038 java CALL >>> mmap(0,0x42800000,PROT_READ|PROT_WRITE|PROT_EXEC,MAP_PRIVATE|=20 >>> MAP_NORESERVE|MAP_ANON,0xffffffff,0,0) >>> 1038 java RET mmap -1 errno 12 Cannot allocate memory >>> >>> >> >> There's your answer. >> >> The JVM is trying to mmap 1064MB of contiguous virtual memory, and =20= >> the OS >> says "no". >> >> The limitation isn't coming from the JVM. It's coming from the =20 >> OS. The >> problem you'll need to solve is why you can't mmap more. Either =20 >> there isn't >> that much contiguous virtual memory left, or you're hitting some =20 >> other >> system limitation. >> >> > You can try reducing kern.maxdsiz and kern.dfldsiz in order to give =20= > mmap more space. > > Yuri > > --=20 > Dr. Yuri Khotyaintsev > Institutet f=C3=B6r rymdfysik (IRF), Uppsala > From owner-freebsd-java@FreeBSD.ORG Tue Aug 19 11:20:01 2008 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B530C1065689 for ; Tue, 19 Aug 2008 11:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9623D8FC22 for ; Tue, 19 Aug 2008 11:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m7JBK1gM054689 for ; Tue, 19 Aug 2008 11:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m7JBK11f054688; Tue, 19 Aug 2008 11:20:01 GMT (envelope-from gnats) Resent-Date: Tue, 19 Aug 2008 11:20:01 GMT Resent-Message-Id: <200808191120.m7JBK11f054688@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Denis Mikhalyob Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9ABC11065678 for ; Tue, 19 Aug 2008 11:17:14 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 7316D8FC0A for ; Tue, 19 Aug 2008 11:17:14 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m7JBHEb9037463 for ; Tue, 19 Aug 2008 11:17:14 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m7JBHEDD037462; Tue, 19 Aug 2008 11:17:14 GMT (envelope-from nobody) Message-Id: <200808191117.m7JBHEDD037462@www.freebsd.org> Date: Tue, 19 Aug 2008 11:17:14 GMT From: Denis Mikhalyob To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: java/126655: jboss4 port can not take standard parameter "-b host_name" X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2008 11:20:01 -0000 >Number: 126655 >Category: java >Synopsis: jboss4 port can not take standard parameter "-b host_name" >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Aug 19 11:20:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Denis Mikhalyob >Release: 7.0 >Organization: agava.com >Environment: >Description: The problem is that I can not pass standard JBoss command-line parameters to jboss4ctl. I am interested to pass parameter -b 0.0.0.0 in order to run JBoss at some host. As an issue of this - RMI do not working. Please help. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Tue Aug 19 18:38:47 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1EA21065692 for ; Tue, 19 Aug 2008 18:38:47 +0000 (UTC) (envelope-from kjkoster@kjkoster.org) Received: from www.kjkoster.org (kjkoster.org [80.101.182.197]) by mx1.freebsd.org (Postfix) with ESMTP id 7E7B38FC2D for ; Tue, 19 Aug 2008 18:38:46 +0000 (UTC) (envelope-from kjkoster@kjkoster.org) Received: from [192.168.0.1] (mac [192.168.0.1]) by www.kjkoster.org (8.14.2/8.14.2) with ESMTP id m7JIccfk080437; Tue, 19 Aug 2008 20:38:46 +0200 (CEST) (envelope-from kjkoster@kjkoster.org) Message-Id: <3CD88297-2C6A-4E1C-A114-002599898B91@kjkoster.org> From: Kees Jan Koster To: Sharkie , freebsd-java@freebsd.org In-Reply-To: <728977D1-FDFA-495B-80D3-D9D060FA5082@mac.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v928.1) Date: Tue, 19 Aug 2008 13:19:22 +0200 References: <2849C2B9-6990-4F51-A430-06E99D745816@mac.com> <97C57C69-1708-4176-86BC-E2B733BF0ACA@kjkoster.org> <7B413A97-AC11-4FD4-9BD5-40CC21593488@mac.com> <6E041876-88CC-45CB-9739-C3EB5686EEF5@mac.com> <5AD97FD4-50C1-4C43-93FE-4EA7F782D03E@mac.com> <48AA6E00.7040408@irfu.se> <728977D1-FDFA-495B-80D3-D9D060FA5082@mac.com> X-Mailer: Apple Mail (2.928.1) Cc: Subject: Re: Why cannot I allocate more than -Xmx700M X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2008 18:38:48 -0000 Dear Sharkie, > I think I was 1 GIG of physical ram. I am getting service in for my > machine now. Strange. I have a box with 768MB RAM and it will happily allocate 1GB for a JVM. That is, I can run "Hello World" -Xmx1G and -Xmx1000M just fine. This is using the native JVM. What version are you using? -- Kees Jan http://java-monitor.com/forum/ kjkoster@kjkoster.org 06-51838192 The secret of success lies in the stability of the goal. -- Benjamin Disraeli From owner-freebsd-java@FreeBSD.ORG Tue Aug 19 20:36:17 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02260106566B for ; Tue, 19 Aug 2008 20:36:17 +0000 (UTC) (envelope-from he@uninett.no) Received: from smistad.uninett.no (smistad.uninett.no [IPv6:2001:700:1:0:211:9ff:fe8c:7386]) by mx1.freebsd.org (Postfix) with ESMTP id 7B99F8FC16 for ; Tue, 19 Aug 2008 20:36:16 +0000 (UTC) (envelope-from he@uninett.no) Received: from smistad.uninett.no (smistad.uninett.no [158.38.62.77]) by smistad.uninett.no (Postfix) with ESMTP id 28F1121DC43; Tue, 19 Aug 2008 22:36:14 +0200 (CEST) Date: Tue, 19 Aug 2008 22:36:14 +0200 (CEST) Message-Id: <20080819.223614.66313564.he@uninett.no> To: kjkoster@kjkoster.org From: Havard Eidnes In-Reply-To: <3CD88297-2C6A-4E1C-A114-002599898B91@kjkoster.org> References: <48AA6E00.7040408@irfu.se> <728977D1-FDFA-495B-80D3-D9D060FA5082@mac.com> <3CD88297-2C6A-4E1C-A114-002599898B91@kjkoster.org> X-Mailer: Mew version 5.2 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-java@freebsd.org, shark.fin.soup@mac.com Subject: Re: Why cannot I allocate more than -Xmx700M X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2008 20:36:17 -0000 > > I think I was 1 GIG of physical ram. I am getting service in for my= = > > machine now. > > Strange. I have a box with 768MB RAM and it will happily allocate 1GB= = > for a JVM. That is, I can run "Hello World" -Xmx1G and -Xmx1000M just= = > fine. Surely, what matters is not the amount of physical ram in the box (although "more is better" is a good rule of thumb :-), but the total amount of virtual memory? I.e. the amount of configured swap space also enters into the equation. Regards, - H=E5vard From owner-freebsd-java@FreeBSD.ORG Wed Aug 20 04:13:45 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96B0E106564A for ; Wed, 20 Aug 2008 04:13:45 +0000 (UTC) (envelope-from shark.fin.soup@mac.com) Received: from asmtpout018.mac.com (asmtpout018.mac.com [17.148.16.93]) by mx1.freebsd.org (Postfix) with ESMTP id 810048FC14 for ; Wed, 20 Aug 2008 04:13:45 +0000 (UTC) (envelope-from shark.fin.soup@mac.com) MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Received: from [192.168.1.121] ([210.213.5.122]) by asmtp018.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0K5V009PLT2TCF20@asmtp018.mac.com> for freebsd-java@freebsd.org; Tue, 19 Aug 2008 21:13:45 -0700 (PDT) Message-id: From: Sharkie To: freebsd-java@freebsd.org In-reply-to: <20080819.223614.66313564.he@uninett.no> Content-transfer-encoding: quoted-printable Date: Wed, 20 Aug 2008 11:11:50 +0700 References: <48AA6E00.7040408@irfu.se> <728977D1-FDFA-495B-80D3-D9D060FA5082@mac.com> <3CD88297-2C6A-4E1C-A114-002599898B91@kjkoster.org> <20080819.223614.66313564.he@uninett.no> X-Mailer: Apple Mail (2.919.2) Cc: Kees Jan Koster , Havard Eidnes Subject: Re: Why cannot I allocate more than -Xmx700M X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2008 04:13:45 -0000 Well, now it's now really interesting. I made a typo in my previous post. Basically I have a 4GIG machine. But somehow I lost 1GIG and now have only 3. I am getting serviced =20 this Friday so will find out. That aside, I have 16GIG of SWAPSPACE, and 3GIG of actual RAM. I am still unable to allocate more than -Xmx700M FreeBSD or JAVA is not tapping into my swapspace? How do I check this =20= out? On Aug 20, 2008, at 3:36 AM, Havard Eidnes wrote: >>> I think I was 1 GIG of physical ram. I am getting service in for my >>> machine now. >> >> Strange. I have a box with 768MB RAM and it will happily allocate 1GB >> for a JVM. That is, I can run "Hello World" -Xmx1G and -Xmx1000M just >> fine. > > Surely, what matters is not the amount of physical ram in the box > (although "more is better" is a good rule of thumb :-), but the > total amount of virtual memory? I.e. the amount of configured > swap space also enters into the equation. > > Regards, > > - H=E5vard > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-=20 > unsubscribe@freebsd.org" From owner-freebsd-java@FreeBSD.ORG Wed Aug 20 06:12:44 2008 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F1E51065677; Wed, 20 Aug 2008 06:12:44 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 224E28FC0A; Wed, 20 Aug 2008 06:12:44 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m7K6Ci6q067842; Wed, 20 Aug 2008 06:12:44 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m7K6Cit2067838; Wed, 20 Aug 2008 06:12:44 GMT (envelope-from linimon) Date: Wed, 20 Aug 2008 06:12:44 GMT Message-Id: <200808200612.m7K6Cit2067838@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-java@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: ports/126655: java/jboss4 can not take standard parameter "-b host_name" X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2008 06:12:44 -0000 Old Synopsis: jboss4 port can not take standard parameter "-b host_name" New Synopsis: java/jboss4 can not take standard parameter "-b host_name" Responsible-Changed-From-To: freebsd-java->freebsd-ports-bugs Responsible-Changed-By: linimon Responsible-Changed-When: Wed Aug 20 06:11:22 UTC 2008 Responsible-Changed-Why: ports PR. http://www.freebsd.org/cgi/query-pr.cgi?pr=126655 From owner-freebsd-java@FreeBSD.ORG Wed Aug 20 12:33:46 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 338501065674 for ; Wed, 20 Aug 2008 12:33:46 +0000 (UTC) (envelope-from artem@bizlink.ru) Received: from webcrm.ru (webcrm.ru [83.222.4.120]) by mx1.freebsd.org (Postfix) with ESMTP id DA8DA8FC2B for ; Wed, 20 Aug 2008 12:33:45 +0000 (UTC) (envelope-from artem@bizlink.ru) Received: from [127.0.0.1] (unknown [10.8.0.6]) by dopler.bizlink.ru (Postfix) with ESMTPA id 60B0E44AD7E; Wed, 20 Aug 2008 16:14:15 +0400 (MSD) Message-ID: <48AC0A95.2060607@bizlink.ru> Date: Wed, 20 Aug 2008 16:14:13 +0400 From: Artem Gr User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 Newsgroups: gmane.os.freebsd.devel.java To: Sharkie References: <48AA6E00.7040408@irfu.se> <728977D1-FDFA-495B-80D3-D9D060FA5082@mac.com> <3CD88297-2C6A-4E1C-A114-002599898B91@kjkoster.org> <20080819.223614.66313564.he@uninett.no> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Kees Jan Koster , Havard Eidnes , freebsd-java@freebsd.org Subject: Re: Why cannot I allocate more than -Xmx700M X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2008 12:33:46 -0000 Sharkie wrote: > Well, now it's now really interesting. > I made a typo in my previous post. > Basically I have a 4GIG machine. > But somehow I lost 1GIG and now have only 3. I am getting serviced this > Friday so will find out. > > That aside, I have 16GIG of SWAPSPACE, and 3GIG of actual RAM. > > I am still unable to allocate more than -Xmx700M You'll need a 64-bit version of the operating system in order to allocate large amounts of Virtual Memory. 32-bit OS have around 4 GB of virtual memory and more than half is reserved to the OS. From owner-freebsd-java@FreeBSD.ORG Wed Aug 20 18:28:28 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98A07106567F for ; Wed, 20 Aug 2008 18:28:28 +0000 (UTC) (envelope-from kjkoster@kjkoster.org) Received: from www.kjkoster.org (kjkoster.org [80.101.182.197]) by mx1.freebsd.org (Postfix) with ESMTP id 3061A8FC23 for ; Wed, 20 Aug 2008 18:28:27 +0000 (UTC) (envelope-from kjkoster@kjkoster.org) Received: from [192.168.0.1] (mac [192.168.0.1]) by www.kjkoster.org (8.14.2/8.14.2) with ESMTP id m7KISKVU096984; Wed, 20 Aug 2008 20:28:27 +0200 (CEST) (envelope-from kjkoster@kjkoster.org) Message-Id: <661CDCCF-AD3C-49AE-8E7D-7B0D4A29512D@kjkoster.org> From: Kees Jan Koster To: Sharkie , freebsd-java@freebsd.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v928.1) Date: Wed, 20 Aug 2008 11:59:14 +0200 References: <48AA6E00.7040408@irfu.se> <728977D1-FDFA-495B-80D3-D9D060FA5082@mac.com> <3CD88297-2C6A-4E1C-A114-002599898B91@kjkoster.org> <20080819.223614.66313564.he@uninett.no> X-Mailer: Apple Mail (2.928.1) Cc: Subject: Re: Why cannot I allocate more than -Xmx700M X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2008 18:28:28 -0000 Dear Sharkie, > Well, now it's now really interesting. > I made a typo in my previous post. > Basically I have a 4GIG machine. > But somehow I lost 1GIG and now have only 3. I am getting serviced > this Friday so will find out. Uhm... You lost it? I know there is a problem with the intel architecture that the PCI address space is placed in the upper parts of the 4GB memory space, so if you have 4GB ram, only 3 is visible to the machine as actual memory. The rest is PCI. I have 4GB in my macbook pro and I have 3GB available to the OS. > That aside, I have 16GIG of SWAPSPACE, and 3GIG of actual RAM. > > I am still unable to allocate more than -Xmx700M > > FreeBSD or JAVA is not tapping into my swapspace? How do I check > this out? What version of Java are you using? Linux/sun or native port? I tried on a machine with 2GB physical RAM and one with 768MB of RAM and both let me allocate 1GB (-Xmx1G) just fine, buy not 2GB (-Xmx2G). This is using the native FreeBSD Java 1.6.0 port. -- Kees Jan http://java-monitor.com/forum/ kjkoster@kjkoster.org 06-51838192 Human beings make life so interesting. Do you know that in a universe so full of wonders, they have managed to invent boredom. Quite astonishing... -- Terry Partchett From owner-freebsd-java@FreeBSD.ORG Thu Aug 21 09:52:13 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFE91106567E for ; Thu, 21 Aug 2008 09:52:13 +0000 (UTC) (envelope-from fazaeli@sepehrs.com) Received: from sepehrs.com (mail2.sepehrs.com [213.217.59.98]) by mx1.freebsd.org (Postfix) with ESMTP id F413F8FC12 for ; Thu, 21 Aug 2008 09:52:12 +0000 (UTC) (envelope-from fazaeli@sepehrs.com) Received: from [192.168.1.180] ([192.168.1.180]) by sepehrs.com (8.13.6/8.13.6) with ESMTP id m7L9WiDW008495; Thu, 21 Aug 2008 14:02:45 +0430 (IRDT) (envelope-from fazaeli@sepehrs.com) Message-ID: <48AD3639.4060607@sepehrs.com> Date: Thu, 21 Aug 2008 13:02:41 +0330 From: "H.fazaeli" User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Sharkie References: <2849C2B9-6990-4F51-A430-06E99D745816@mac.com> In-Reply-To: <2849C2B9-6990-4F51-A430-06E99D745816@mac.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Sepehr-MailScanner-Information: Please contact the ISP for more information X-Sepehr-MailScanner: Found to be clean X-Sepehr-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.399, required 5, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60) X-MailScanner-From: fazaeli@sepehrs.com X-Spam-Status: No Cc: freebsd-java@freebsd.org Subject: Re: Why cannot I allocate more than -Xmx700M X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Aug 2008 09:52:13 -0000 try increasing kern.maxdsiz to 1G in /boot/load.conf: kern.maxdsiz="1073741824" Sharkie wrote: > last pid: 1526; load averages: 1.17, 0.90, 0.47 up 0+00:09:36 00:31:59 > 105 processes: 1 running, 104 sleeping > CPU: 10.0% user, 0.0% nice, 1.1% system, 0.0% interrupt, 88.9% idle > Mem: 948M Active, 422M Inact, 126M Wired, 1516K Cache, 112M Buf, 1506M > Free > Swap: 16G Total, 16G Free > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND > 1500 root 56 49 0 904M 552M ucond 5 0:06 77.20% java > 757 mysql 12 4 0 1156M 436M sbwait 1 0:26 15.72% mysqld > > > My machine does have more than 700M available when I try to start my > Java app, but I could only do at most 700M. > > Is there an artificial limit or something that I cannot see here? I > have 1506M remaining, which I cannot use in this single java app? > > However, if I launch 5 Java app each getting 300M heap, then I have no > problem. > > It's really odd. > > Is there a way I can override FreeBSD and assign to this Java app all > that I think it deserve? > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > > -- Best regards. Hooman Fazaeli Sepehr S. T. Co. Ltd. Web: http://www.sepehrs.com Tel: (9821)88975701-2 Fax: (9821)88983352 From owner-freebsd-java@FreeBSD.ORG Sat Aug 23 17:36:51 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8A6A106564A for ; Sat, 23 Aug 2008 17:36:51 +0000 (UTC) (envelope-from andy@triera.net) Received: from deliver-2.mx.triera.net (deliver-2.mx.triera.net [213.161.0.32]) by mx1.freebsd.org (Postfix) with ESMTP id 823F98FC22 for ; Sat, 23 Aug 2008 17:36:51 +0000 (UTC) (envelope-from andy@triera.net) Received: from localhost (in-2.mx.triera.net [213.161.0.26]) by deliver-2.mx.triera.net (Postfix) with ESMTP id EA405500; Sat, 23 Aug 2008 19:10:26 +0200 (CEST) X-Virus-Scanned: Triera AV Service Received: from smtp.triera.net (smtp.triera.net [213.161.0.30]) by in-4.mx.triera.net (Postfix) with SMTP id F3A131AA5AD; Sat, 23 Aug 2008 19:10:33 +0200 (CEST) Received: from garfield.atechnet.dhs.org (unknown [86.58.50.58]) by smtp.triera.net (Postfix) with ESMTP id A15AD1A18B0; Sat, 23 Aug 2008 19:10:31 +0200 (CEST) Message-ID: <48B060A6.4000900@triera.net> Date: Sat, 23 Aug 2008 19:10:30 +0000 From: Andy Rozman User-Agent: Thunderbird 2.0.0.16 (X11/20080818) MIME-Version: 1.0 To: Sharkie , freebsd-java@freebsd.org References: <5361254E-6DDC-4BCA-AAB8-8276C7DB18EE@mac.com> In-Reply-To: <5361254E-6DDC-4BCA-AAB8-8276C7DB18EE@mac.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Which Java Freebsd 7.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Aug 2008 17:36:51 -0000 Sharkie wrote: > I believe my machine is running Libthr. > > Should I either install > > 1) Install linux-sun-jdk16 from ports > 2) Install Diablo from ports > 3) Download Diablo as binary > > Do these choices make any difference? I need the best performance > possible. > Hi ! Options 2 and 3 are same. I would go with option 4.) Install from java/jdk1.6 In most cases diablo build works, but if you have any special needs I would advise full build (option 4). It will take more time, than any other option, but I am sure your own build will work better, than diablo one. It will use your own libraries for build, so everything should be fine. Andy