[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: help with java.lang.outofmemoryerror

Subject: Re: help with java.lang.outofmemoryerror
From: James Fuller <jim.fuller@xxxxxxxxxxxxxx>
Date: Wed, 06 Apr 2005 14:01:12 +0200
java.lang.outof memory
Nicola Harlow wrote:

>Ok, perhaps you didn't quite understand how really, really thick I am
>about this. (And anxious to learn :)
>
>If I had known what to do with the original poster's information, I
>wouldn't have asked the question in the first place.
>
>  
>

Hello Nicola,

to invoke saxon, u normally need to run it from command line, like
below..using java and the -jar switch to tell where the saxon jar is;

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

java invokes the jvm (java virtual machine) to run the file,.....and has
switches to control memory usage (-Xms and -Xmx), which is unrelated to
saxon...but related to defining memory for *any* java program.

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

-Xms defines minimum heap size

-Xmx defines maximum heap size

(note: the X is just java convention which defines these switches as extensions...I think it was introduced with Java 1.3)

the above invokes saxon, with the appropriate memory....512m = 512 megabytes of memory...so depending on the resources of your computer....will define what memory you can supply. It is OK to have the same value for min and max...

hth,Jim Fuller

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.