[EMAIL PROTECTED] wrote:

> Hi,
> 
> It would be appreciated if someone could help me on the following questions.
> 
> Q1: can I use "k", "m" and "g" to specify kbyte, mbyte and 
>       gbyte, like -Xms700m (for 700 mb), -Xmx2g (for 2 gb)?

        You should.


> 
> Q2: is there any upper limit for -Xms and -Xmx values, or can 
>       I use whatever value I want such as -Xms700m and 
>       -Xmx2g (suppose "m" and "g" are available)?

        There is no upper limit.


> 
> Q3: should I consider the actual physical memory size when I 
>       specify -Xms and -Xmx values?

        Yes.


> 
> Q4: Windows use memory paging, so if I use larger -Xms and
>       -Xmx values than physical memory size, paging occurs 
>       and paging activity may slow down Java application execution.  
>       Does Linux use paging in the same way as Windows does?

        For this purpose, yes.


> 
> Q5: is there any document which explain how to use -Xms and -Xmx
>       in more details?

        No, because they are non-standard options.  But they work the same way 
they do under Window$.


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to