From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,f36f03e3c7a16e93 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-09-22 08:50:33 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!ihug.co.nz!news.compaq.com!news.cpqcorp.net!53ab2750!not-for-mail From: dicko User-Agent: Mozilla/5.0 (X11; U; OSF1 alpha; en-US; rv:1.3b) Gecko/20030318 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: Strange problem with Java 141 on Tru64 unix 5.1A References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Mon, 22 Sep 2003 15:50:33 GMT NNTP-Posting-Host: 16.188.153.119 X-Complaints-To: abuse@HP.com X-Trace: news.cpqcorp.net 1064245833 16.188.153.119 (Mon, 22 Sep 2003 08:50:33 PDT) NNTP-Posting-Date: Mon, 22 Sep 2003 08:50:33 PDT Organization: Hewlett-Packard Company Xref: archiver1.google.com comp.unix.tru64:10809 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.(ZipFile.java:112) > at java.util.zip.ZipFile.(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