Re: java out of memory

Subject: Re: java out of memory
From: John Robert Gardner <John.Robert.Gardner@xxxxxxxxxxxx>
Date: Mon, 31 Jul 2000 14:26:48 -0400 (EDT)
THanks to Zarella James, the following was what I remembered on this:

<snip>

Java Memory Errors - You may need to increase the swap space that Java
uses on your system.This can be accomplished directly on the command line
when running XT by adding the following parameters:
-msXX
where XX is the Minimum Heap Size (use at least 50M)
-mxYYY
where YYY is the Maximum Heap Size (200M, 400M, etc.)
Your new UNIX command line call will now look like this:
java -ms50M -mx400M com.jclark.xsl.sax.Driver input-file xsl-file
output-file 

</snip>
#From: John Robert Gardner <John.Robert.Gardner@xxxxxxxxxxxx>
#Subject: java out of memory
#To: XSL-List@xxxxxxxxxxxxxxxx
#MIME-Version: 1.0
#Content-MD5: 9pEit/1vnaXAunf6Q1zfvQ==
#
#I've checked the FAQ, looked in several books, and cannot get outside the Sun 
#firewalls to where I know I've safely stored this info-- so apologies in 
#advance:
#
#I can't remember where I read it, but there is a way to call the java-based 
xslt 
#engines with an-- is it mx and something . . . ? switch for extend the 
available 
#memory so that the dread:
#
#Exception in thread "main" java.lang.OutOfMemoryError
#
#message with larger files even on UNIX can be avoided.
#
#what is that syntax?
#
#Might help to add this to the FAQ -- and I welcome an RTFM if I overlooked it.
#
#jr
#
#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-|
#John Robert Gardner, Ph.D.
#Enterprise Management Architecture Group
#Sun Microsystems Inc.,
#MailStop UBUR03-323			
#1 Network Drive
#Burlington, MA  01803-0903		|  "Earn this"
#					|  
#Ph. 781-442-0692			|  -Capt. John H. Miller
#Fax 781-442-1599			|   Saving Private Ryan
#e-mail  john.robert.gardner@xxxxxxx
#-----------------------------------
#http://vedavid.org/diss/
#http://vedavid.org/xml/docs/
#
#
#------------- End Forwarded Message -------------
#
#
#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-|
#John Robert Gardner, Ph.D.
#Enterprise Management Architecture Group
#Sun Microsystems Inc.,
#MailStop UBUR03-323			
#1 Network Drive
#Burlington, MA  01803-0903		|  "Earn this"
#					|  
#Ph. 781-442-0692			|  -Capt. John H. Miller
#Fax 781-442-1599			|   Saving Private Ryan
#e-mail  john.robert.gardner@xxxxxxx
#-----------------------------------
#http://vedavid.org/diss/
#http://vedavid.org/xml/docs/
#
#
#
# XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-|
John Robert Gardner, Ph.D.
Enterprise Management Architecture Group
Sun Microsystems Inc.,
MailStop UBUR03-323			
1 Network Drive
Burlington, MA  01803-0903		|  "Earn this"
					|  
Ph. 781-442-0692			|  -Capt. John H. Miller
Fax 781-442-1599			|   Saving Private Ryan
e-mail  john.robert.gardner@xxxxxxx
-----------------------------------
http://vedavid.org/diss/
http://vedavid.org/xml/docs/



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread