vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi all, we need to start a Java application which needs about 3.8 Giga ram on a HP UX 11.11. 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 ? Thanks in advance Francesco |
| |||
| 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/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. Don |
| |||
| 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....... 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/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. > > Don |
| |||
| 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/jav...spot.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/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. >> >> Don > |
| |||
| 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 |
| ||||
| 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....... Yes, 64-bit JVMs have been available on HP-UX for years. If it is not explicitly stated on HP's Java pages, it is probably due to the same attitude I first had, which was to think that this is a given. <http://www.hp.com/go/java> Eric |