Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Apr 1998 15:13:32 -0600
From:      Nate Williams <nate@mt.sri.com>
To:        Tom Bartol <bartol@salk.edu>
Cc:        Nate Williams <nate@mt.sri.com>, freebsd-java@FreeBSD.ORG, java-port@FreeBSD.ORG
Subject:   Re: Trouble installing SwingSet in JWS
Message-ID:  <199804232113.PAA11336@mt.sri.com>
In-Reply-To: <Pine.BSF.3.96.980423131340.19717L-100000@cole.salk.edu>
References:  <199804232012.OAA10969@mt.sri.com> <Pine.BSF.3.96.980423131340.19717L-100000@cole.salk.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
> > > 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804232113.PAA11336>