From owner-freebsd-java Thu Jan 28 22:34:42 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA29660 for freebsd-java-outgoing; Thu, 28 Jan 1999 22:34:42 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from WEBBSD1.turnaround.com.au (webbsd1.turnaround.com.au [203.39.138.49]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA29655 for ; Thu, 28 Jan 1999 22:34:38 -0800 (PST) (envelope-from J_Shevland@TurnAround.com.au) Received: from tasshev (dhcp110.turnaround.com.au [192.168.1.110] (may be forged)) by WEBBSD1.turnaround.com.au (8.8.7/8.8.7) with SMTP id RAA12371; Fri, 29 Jan 1999 17:35:43 +1100 (EST) (envelope-from J_Shevland@TurnAround.com.au) Reply-To: From: "Joe Shevland" To: , Subject: RE: Changing max stack size Date: Fri, 29 Jan 1999 17:30:39 +1100 Message-ID: <003801be4b50$e31e6740$6e01a8c0@tasshev.turnaround.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal In-Reply-To: <36B139C1.A9D41A0A@usit.net> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > -----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