Article View: borland.public.jbuilder.java.language
Article #16698Re: available memory answer
From: William Glocker
Date: Fri, 22 Jan 1999 00:00
Date: Fri, 22 Jan 1999 00:00
37 lines
1545 bytes
1545 bytes
I've actually had a chance to experiment with this now, and it appears the JRE readme is wrong, the syntax it seems to like is: "-mx=y" where y is the maximum number of bytes in the memory allocation pool. Bill William Glocker wrote: > Hi, > > There have been several postings recently (including my own) on the > subject of how much memory is available to your Java program. I found > > some helpful information here: > > http://java.sun.com/products/jdk/1.1/jre/README > > There are two switches to the JRE command line that control system > memory use: > -ms x (set startup size of memory allocation pool to x bytes; > default is 1MB; min is 1KB) > -mx x (set maximum size of memory allocaction pool to x bytes; > default is 16MB; min is 1KB) > > Hope this helps. > Bill > -- > William P. Glocker > Voice: 719-598-6854 > email: bill.glocker@bigfoot.com -- William P. Glocker Voice: 719-598-6854 email: bill.glocker@bigfoot.com
Technical Details
Message-ID:
<36A8FFAA.F470AC5F@bigfoot.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<36A79E71.16C47E36@bigfoot.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,d4d93b68d8e4a82d X-Google-Attributes: gidf74b3,public From: William Glocker <bill.glocker@bigfoot.com> Subject: Re: available memory answer Date: 1999/01/22 Message-ID: <36A8FFAA.F470AC5F@bigfoot.com> X-Deja-AN: 435793592 Content-Transfer-Encoding: 7bit References: <36A79E71.16C47E36@bigfoot.com> Organization: Another Netscape Collabra Server User X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language