Re: How to use Java options -Xms and -Xmx on Linux?

2001-05-11 Thread Timothy Reaves

Jonathan Doughty wrote:

>>"Timothy" == Timothy Reaves <[EMAIL PROTECTED]> writes:
>>
> 
>>>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.
>>
> 
> Au contraire.  There is not _supposed_ to be, no.  
> 
> But, in fact, on current 32-bit Linux systems there is a 2GB limit.
> 


Thanks for the information.  I wonder if they are saving the 'fix' for 
the 1.4 release.  It was SUPPOSED to have been out by now, according to 
JavaOne last year.  I'll have to ask at JavaOne this year.


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




Re: jvm permissions question

2001-05-11 Thread Nelson Minar

>However, due to the nature of our app and infrastructure out app
>needs to be able to do things as different users.

Your one app needs to run with the permissions of several different
users? In a nutshell, Java isn't going to help you with this. In fact,
it'd be fairly awkward to do this in C in Unix.

You really want one process per user. Depending on the context of what
you're doing, you may be able to hack something up. Having Java fork
processes that do "su myuser; run-my-commands;" would be simplest.

It's possible that the Posix capabilities stuff in newer Linuxes could
do what you want, but again Java isn't going to help.


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