xsl-list
[Top] [All Lists]

RE: help with java.lang.outofmemoryerror

2005-04-06 05:11:44
Ok, cheers, I see now :)

I'll start having a grope around the configuration then!

Thanks,
Nicola

Nicola Harlow 
Technical Author
The Program Management Group plc
tel:           +44 (0) 1937 547 171
direct:      +44 (0) 1937 547 165
fax:         +44 (0) 1937 547 154
mail:     nicola(_dot_)harlow(_at_)pm-group(_dot_)com
web:        http://www.pm-group.com

-----Original Message-----
From: Michael Kay [mailto:mike(_at_)saxonica(_dot_)com] 
Sent: 06 April 2005 12:55
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] help with java.lang.outofmemoryerror


Very, very basic question. Sorry ;)

*Where* do you set this?

If you are invoking a transformation from the operating system command
line,
then you include the extra parameters in the command that invokes the
transformation, as shown.

If you're running the transformation from a Java application, you
allocate
the memory at the point that the application gets invoked.

If you're using an IDE such as Stylus Studio, you'll have to look at its
configuration options. But if memory is critical, you're probably better
off
running outside an IDE.

Michael Kay
http://www.saxonica.com/
 

Thanks,

Nicola ;)

Nicola Harlow 
Technical Author
The Program Management Group plc
tel:           +44 (0) 1937 547 171
direct:      +44 (0) 1937 547 165
fax:         +44 (0) 1937 547 154
mail:     nicola(_dot_)harlow(_at_)pm-group(_dot_)com
web:        http://www.pm-group.com

-----Original Message-----
From: Michael Kay [mailto:mike(_at_)saxonica(_dot_)com] 
Sent: 06 April 2005 09:41
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] help with java.lang.outofmemoryerror


I am using saxon 8.3 with several input docs (>40M) while 
outputting to over 
1000 xml files and get this error.  I have read about 
allocating more memory 
to java. How is this done? Can this be corrected? 


Try 

java -Xms512m -Xmx512m -jar saxon8.jar source.xml style.xsl

to allocate 512Mb, which should be enough for 40Mb of input unless the
transformation uses a lot of temporary storage.

Michael Kay
http://www.saxonica.com/



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>