Date: Fri, 29 Jan 1999 17:30:39 +1100 From: "Joe Shevland" <J_Shevland@TurnAround.com.au> To: <hgrabows@usit.net>, <freebsd-java@FreeBSD.ORG> Subject: RE: Changing max stack size Message-ID: <003801be4b50$e31e6740$6e01a8c0@tasshev.turnaround.com.au> In-Reply-To: <36B139C1.A9D41A0A@usit.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> -----Original Message----- > From: owner-freebsd-java@FreeBSD.ORG > [mailto:owner-freebsd-java@FreeBSD.ORG]On Behalf Of Henry C. Grabowski > III > Sent: Friday, January 29, 1999 3:32 PM > To: freebsd-java@FreeBSD.ORG > Subject: Changing max stack size > > > I'm trying to change the maximum stack size before I run a program. > There is a self-calling method in one of my routines and it can get > quite deep. Under windows, using one of Sun's JDK1.1 compilers (not > sure which one exactly), I have to increase the size of the Java stack > size. Under windows I do the following to run the program > "unheatedgui": > > java -oss10MB unheatedgui > > Under FreeBSD the command line argument for -oss, -ss and -mx don't work > with this format. The only way I've been able to get the program to > even execute is to do the following: > > java unheatedgui -oss128MB -ss128MB -mx256MB > > This was the last time I ran it. I don't see how it is possible for it > to actually reach these values so I'm assuming it treats the three > options as command line arguments for "unheatedgui" and not for "java". You're correct there. These arguments will become the String[] object in the main method. Sorry I can't help with why the previous command line arguments wouldn't work though. I've rarely used them, and that was on a WinGames machine. But I thought it was specified in kb (try removing the MB?), and I'd also put a space after 'em. -- Joe Shevland Principal Consultant Turnaround Solutions Pty. Ltd. Ph: +61-03-6224-9146 * Fax: +61-03-6223-2556 > If you could shed some light on how to use these options, i would > appriciate it. > > Thank you, > Hank > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > 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?003801be4b50$e31e6740$6e01a8c0>