[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: "Andrew Welch" <ajwelch@xxxxxxxxxxxxxxx>
Date: Wed, 6 Apr 2005 10:06:10 +0100
java.lang.outof
> > I learned a while back (I think from Dr. Kay) that you should set
> > these two values to the same value.  Why this is, to be
> honest I have
> > not researched nor did I feel the need based on the source
> of the info
> > :)
>
> I advise people to do this purely on the basis that it works for me.

Xms sets the initial heap size, Xmx ets the maximum heap size.

I believe setting the initial heap size as high as possible should
reduce the amount of garbage collection going on, and the number of
times the VM has to go looking for more memory.  The flip side is that
all of that memory gets taken regardless of whether it's needed or not,
impacting on your system as whole.  Therefore, for one off large
transforms, setting both values the same and as high as possible should
give the best performance.

cheers
andrew

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.