Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Strange problem with Java 141 on Tru64 unix 5.1A
@ 2003-09-18 14:48 Bharath
  2003-09-22 15:50 ` dicko
  0 siblings, 1 reply; 2+ messages in thread
From: Bharath @ 2003-09-18 14:48 UTC (permalink / raw)


Hi,

System is : Tru64 V5.1A,multi-cpu,4GB Physical
Memory,Processor(DEC6600/EV6)

On the host i installed JRE141 package and 
I am trying to start a Java Application which fails with an exception
"Out of Memory
 util_malloc: out of memory, file 
/vobs/JavaGroup/Products/Java/J2SDK/fastvm/srcjava/runtime/port.c line
51

and some other related exceptions are
java.lang.OutOfMemoryError
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:112)
        at java.util.zip.ZipFile.<init>(ZipFile.java:72)
        ...

I am able to start the java application when i increase the max heap
size of
the process by giving  java -Xmx10m , but the same application will
not start if the initial heap size of process is 10 mb ( java -Xms10m
)
The fastjvm that is used ( libjvm.so )is 64bit so that the address
range for java process can be more than 3GB.

But to add to the confusion, if the i link 32 bit libjvm.so to the
java application,it starts fine and i dont need to specify any initial
or max heap size in the command line.


On my other Tru64 unix V5.1A hosts with almost similar configuration
(same patch levels,memory size etc) i didnt face any problem to start
my java application.
I checked the "proc" subsystem parameters and it was fine.

Please bring in more comments as to what might have gone wrong on the
host ?

Thanks in Advance,

Regards,
Bharath

(email : bharath.kumar@digital.com)


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Strange problem with Java 141 on Tru64 unix 5.1A
  2003-09-18 14:48 Strange problem with Java 141 on Tru64 unix 5.1A Bharath
@ 2003-09-22 15:50 ` dicko
  0 siblings, 0 replies; 2+ messages in thread
From: dicko @ 2003-09-22 15:50 UTC (permalink / raw)


Bharath wrote:
> Hi,
> 
> System is : Tru64 V5.1A,multi-cpu,4GB Physical
> Memory,Processor(DEC6600/EV6)
> 
> On the host i installed JRE141 package and 
> I am trying to start a Java Application which fails with an exception
> "Out of Memory
>  util_malloc: out of memory, file 
> /vobs/JavaGroup/Products/Java/J2SDK/fastvm/srcjava/runtime/port.c line
> 51
> 
> and some other related exceptions are
> java.lang.OutOfMemoryError
>         at java.util.zip.ZipFile.open(Native Method)
>         at java.util.zip.ZipFile.<init>(ZipFile.java:112)
>         at java.util.zip.ZipFile.<init>(ZipFile.java:72)
>         ...
> 
> I am able to start the java application when i increase the max heap
> size of
> the process by giving  java -Xmx10m , but the same application will
> not start if the initial heap size of process is 10 mb ( java -Xms10m
> )
> The fastjvm that is used ( libjvm.so )is 64bit so that the address
> range for java process can be more than 3GB.
> 
> But to add to the confusion, if the i link 32 bit libjvm.so to the
> java application,it starts fine and i dont need to specify any initial
> or max heap size in the command line.
> 
> 
> On my other Tru64 unix V5.1A hosts with almost similar configuration
> (same patch levels,memory size etc) i didnt face any problem to start
> my java application.
> I checked the "proc" subsystem parameters and it was fine.
> 
> Please bring in more comments as to what might have gone wrong on the
> host ?
> 
> Thanks in Advance,
> 
> Regards,
> Bharath
> 
> (email : bharath.kumar@digital.com)

increase the following parameters in proc  subsystem

per_proc_stack_size

per_proc_data_size
max_per_proc_data_size
max_per_proc_address_space



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-22 15:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-18 14:48 Strange problem with Java 141 on Tru64 unix 5.1A Bharath
2003-09-22 15:50 ` dicko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox