RE: help with java.lang.outofmemoryerror
> > 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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format