xsl-list
[Top] [All Lists]

RE: help with java.lang.outofmemoryerror

2005-04-06 02:06:10

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

--~------------------------------------------------------------------
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>
--~--