From owner-freebsd-java Thu Apr 23 14:13:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA26745 for freebsd-java-outgoing; Thu, 23 Apr 1998 14:13:47 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA26737; Thu, 23 Apr 1998 14:13:39 -0700 (PDT) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id PAA27761; Thu, 23 Apr 1998 15:13:34 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id PAA11336; Thu, 23 Apr 1998 15:13:32 -0600 Date: Thu, 23 Apr 1998 15:13:32 -0600 Message-Id: <199804232113.PAA11336@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Tom Bartol Cc: Nate Williams , freebsd-java@FreeBSD.ORG, java-port@FreeBSD.ORG Subject: Re: Trouble installing SwingSet in JWS In-Reply-To: References: <199804232012.OAA10969@mt.sri.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > java.lang.OutOfMemoryError > > > > This seems pretty obvious to me. > > > > > Soooo, what am I doing wrong here? > > > > Running out of memory. What are your memory limits set to? > > That was my first guess as well but that's not it. After installing the > JWS-2.0a extension (which Sun claims is required to support > JFC-1.1/swing-1.0.1) I noticed that the new startup_wrapper that it comes > with does the following: > > max_heap="-mx128m" > > java_opts="${max_heap} ${initial_heap} ${c_stack_size} ${java_opts}" > > > So I added this to our freebsd startup_wrapper and, Shazamm!! The "Import Components to > Palette..." function opens swingall.jar just fine now. So, you were running out of memory. :) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message