Re: Running huge Java application on HP-UX ?



Francesco wrote:
Hello,
thanks for your reply.

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

yes I agree. I should probably look for 64-bit binaries of JVM.

Anyone know if it's available Java 64 bit for Hp-UX ?
As far as I know it's available only on Solaris 64-bit/AMD64 and Linux
AMD64.......

http://www.hp.com/products1/unix/java/infolibrary/prog_guide/hotspot.html#-d64
suggests it is:

-d64 (SDK version 1.4 and later)
Runs Java in 64-bit mode. In HP SDK 1.4, interpreter and compiler -Xint, -Xmixed, and -Xcomp modes are supported.

Don

regards
Francesco




Don Morris ha scritto:

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.

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.

Don

.



Relevant Pages

  • Re: IDE Recommendation
    ... >>i use java sdk - straight download from java.com site ... >> i'd like to use an ide that uses the sdk that i downloaded ... The Java IDE is built ...
    (comp.lang.java.programmer)
  • compile/run locations
    ... on the JAVA 2 SDK 1.4.2 installation notes for Microsoft ... the fact that i'm able to execute JAVA programs in the foregoing manner ...
    (comp.lang.java.help)
  • Re: Different compilers = Different byte code?
    ... >installed your applet. ... Restricts the class files to work only on a specific VM version. ... all VMs in the Java 2 SDK. ... Java 2 SDK, v 1.2 And Later Generates the class files to run only on ...
    (comp.lang.java.programmer)
  • Re: Java problems
    ... > Murray Sutherland wrote: ... > What is happening is that I have installed 2 Java IDE's ... > both of which install a copy of the SDK with the Install. ... > This seems to have stuffed up the something (be it JRE or SDK) ...
    (comp.lang.java)
  • Re: Java problems
    ... > Murray Sutherland wrote: ... > What is happening is that I have installed 2 Java IDE's ... > both of which install a copy of the SDK with the Install. ... > This seems to have stuffed up the something (be it JRE or SDK) ...
    (comp.lang.java.developer)