From owner-freebsd-java Thu Apr 23 14:20:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA27833 for freebsd-java-outgoing; Thu, 23 Apr 1998 14:20:19 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from helmholtz.salk.edu (helmholtz.salk.edu [198.202.70.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA27826; Thu, 23 Apr 1998 14:20:15 -0700 (PDT) (envelope-from bartol@salk.edu) Received: from cole.salk.edu (cole [198.202.70.113]) by helmholtz.salk.edu (8.7.5/8.7.3) with SMTP id OAA29419; Thu, 23 Apr 1998 14:20:12 -0700 (PDT) Date: Thu, 23 Apr 1998 14:19:34 -0700 (PDT) From: Tom Bartol To: Nate Williams cc: freebsd-java@FreeBSD.ORG, java-port@FreeBSD.ORG Subject: Re: Trouble installing SwingSet in JWS In-Reply-To: <199804232113.PAA11336@mt.sri.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 23 Apr 1998, Nate Williams wrote: > > > > 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 > Funny guy ;-) Any comment on the rest of question? Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message