View Single Post

   
  #5 (permalink)  
Old 01-17-2008, 05:34 AM
Eric Gouriou
 
Posts: n/a
Default Re: Running huge Java application on HP-UX ?

Don Morris wrote:
> Francesco wrote:
>> Hi all,
>> we need to start a Java application which needs about 3.8 Giga ram on a
>> HP UX 11.11.

>
> man chatr (you're looking for +q3p +q4p options). And good luck... that
> only leaves you 200Mb for private versions of shared libraries, stack
> and text. I really doubt you'll get it... but make sure maxssiz is low
> (Java usually recommends a very large one) -- maxssiz is always reserved
> from your private virtual address space... so it implicitly limits heap.


I would not recommend using chatr on HP-provided java binaries.

I believe our JVM team already ships chatr'ed versions of java
that get invoked according to the -mx setting. Unfortunately I am
not expert there.

It might be an appropriate question for the hpux-devtools mailing list
(hpux-devtools@cxx.up.hp.com).

>> Unfortunately when I start the application the JVM with the option
>> -mx3800M I get an error because memory cannot be reserved.
>>
>> I found some docs which talk about it....
>> http://www.hp.com/products1/unix/jav...ng_memory.html
>>
>>
>> but the application still doesn't start up.
>>
>> Anyone knows if there are patches that allow an application to run with
>> this heap ?
>> or do I have to move to the 64-bit ?

>
> That would be my strong suggestion. You're simply too close to the
> insurmountable 32-bit architectural boundary.


And if it is a pure Java application, it should not be cause
for too much worry. The one caveat is that memory usage will
then increase further, probably beyond 4GB.

Eric

>
> Don

Reply With Quote