From owner-freebsd-java Thu Jan 28 20:32:09 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA16213 for freebsd-java-outgoing; Thu, 28 Jan 1999 20:32:09 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from smtp.usit.net (transfer.usit.net [208.10.171.67]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA16187 for ; Thu, 28 Jan 1999 20:32:03 -0800 (PST) (envelope-from hgrabows@usit.net) Received: from usit.net (IP205241209064.MYIP.NET [205.241.209.64]) by smtp.usit.net (8.9.2/8.9.2) with ESMTP id XAA10255 for ; Thu, 28 Jan 1999 23:32:12 -0500 (EST) Message-ID: <36B139C1.A9D41A0A@usit.net> Date: Thu, 28 Jan 1999 23:32:01 -0500 From: "Henry C. Grabowski III" Reply-To: hgrabows@usit.net X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.6-RELEASE i386) MIME-Version: 1.0 To: freebsd-java@FreeBSD.ORG Subject: Changing max stack size Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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". 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