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@xxxxxxxxxxxxx).

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/java/infolibrary/prog_guide/expanding_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
.



Relevant Pages

  • Re: changing access modifier of base method
    ... I'm not sure if this counts as a different meaning than your ... quality in the Java resources I've seen:)). ... design reason for making sealed the default. ... many more private members than public. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Some understanding questions...
    ... > must be private? ... class that has same namespace or not. ... In Java you should be able to do so ... Since there's the notion of "package private" too as I ...
    (microsoft.public.dotnet.vjsharp)
  • Re: [Lit.] Buffer overruns
    ... I do know of one other way that the Java compiler fails to enforce ... private instance variables: inner classes. ... above code into a class Foo and another separate class called something ...
    (sci.crypt)
  • Re: Running huge Java application on HP-UX ?
    ... (Java usually recommends a very large one) ... -- maxssiz is always reserved ... from your private virtual address space... ... so it implicitly limits heap. ...
    (comp.sys.hp.hpux)
  • Re: How to get the outline GraphicsPath?
    ... Surprisingly it is extremely easy implementing in Java. ... private static class DisplayComponent extends JComponent { ... } // end class TestShape ... protected override void Dispose(bool disposing) ...
    (microsoft.public.dotnet.languages.csharp)