<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: VM Size greater than allocated for a Java Heap in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vm-size-greater-than-allocated-for-a-java-heap/m-p/3448207#M208352</link>
    <description>The last process in your attachment, has option -xms50m, (50 mb) it certainly does not have option for max heap size. you need to start that processes with max. heap size option.&lt;BR /&gt;&lt;BR /&gt;The other three processes are old.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
    <pubDate>Wed, 22 Dec 2004 04:45:12 GMT</pubDate>
    <dc:creator>RAC_1</dc:creator>
    <dc:date>2004-12-22T04:45:12Z</dc:date>
    <item>
      <title>VM Size greater than allocated for a Java Heap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vm-size-greater-than-allocated-for-a-java-heap/m-p/3448201#M208346</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We have an rp class box with 2 gig of RAM. The machine is extremely slow to work with.&lt;BR /&gt;&lt;BR /&gt;As usual we started running glance and we see that memory utlisation is  almost always at 95,99 or 100%. The system runs approximately 10 Java Virtual Machines of varying sizes but none exceeding 256 M.&lt;BR /&gt;&lt;BR /&gt;The interesting part is that inspite of limiting the maximum amount of memory that can be consumed by a Java process say 256, the VSS column reports a consisten use of 450 M. I might be missing something elementary out here in explaining this phenomenon.&lt;BR /&gt;&lt;BR /&gt;Any stab at explaining the behavior is greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Paddy</description>
      <pubDate>Tue, 21 Dec 2004 10:49:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vm-size-greater-than-allocated-for-a-java-heap/m-p/3448201#M208346</guid>
      <dc:creator>Paddy_1</dc:creator>
      <dc:date>2004-12-21T10:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: VM Size greater than allocated for a Java Heap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vm-size-greater-than-allocated-for-a-java-heap/m-p/3448202#M208347</link>
      <description>How do you limit the memory that will be used by JVM?? (you control that with initial heap size, max heap size options on java command line.)&lt;BR /&gt;Are you doing that?? Check both sizes - initial heap size and max. heap size.&lt;BR /&gt;&lt;BR /&gt;Also you should be up to date on java patches.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Tue, 21 Dec 2004 10:56:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vm-size-greater-than-allocated-for-a-java-heap/m-p/3448202#M208347</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-12-21T10:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: VM Size greater than allocated for a Java Heap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vm-size-greater-than-allocated-for-a-java-heap/m-p/3448203#M208348</link>
      <description>Anil,&lt;BR /&gt;&lt;BR /&gt;Yes. We use the java command line of -Xmn and -Xmx to set the initial and max heap size.The current values are 0 and 256.I experimented with increasing the minimum size which only reflected a change in the RSS but no effect on the VSS.&lt;BR /&gt;&lt;BR /&gt;I am not sure of the lastest HotSpot Patch on HP.The following is my output of java -version&lt;BR /&gt;-----------------&lt;BR /&gt;java version "1.3.1.13"&lt;BR /&gt;Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1.13-040210-15:41)&lt;BR /&gt;Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.13-_10_feb_2004_17_15 PA2.0, mixed mode)&lt;BR /&gt;--------------&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Dec 2004 11:11:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vm-size-greater-than-allocated-for-a-java-heap/m-p/3448203#M208348</guid>
      <dc:creator>Paddy_1</dc:creator>
      <dc:date>2004-12-21T11:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: VM Size greater than allocated for a Java Heap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vm-size-greater-than-allocated-for-a-java-heap/m-p/3448204#M208349</link>
      <description>what is the output of the following.&lt;BR /&gt;&lt;BR /&gt;ps -efx|grep [j]ava&lt;BR /&gt;&lt;BR /&gt;This would show the values you used on command line.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Tue, 21 Dec 2004 11:23:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vm-size-greater-than-allocated-for-a-java-heap/m-p/3448204#M208349</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-12-21T11:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: VM Size greater than allocated for a Java Heap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vm-size-greater-than-allocated-for-a-java-heap/m-p/3448205#M208350</link>
      <description>I am attaching the output as a file since there are too mahy and mostly the minimum setting is 50 M and max of 256M.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Dec 2004 12:36:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vm-size-greater-than-allocated-for-a-java-heap/m-p/3448205#M208350</guid>
      <dc:creator>Paddy_1</dc:creator>
      <dc:date>2004-12-21T12:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: VM Size greater than allocated for a Java Heap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vm-size-greater-than-allocated-for-a-java-heap/m-p/3448206#M208351</link>
      <description>hi.. i have recently been at a preformance course in websphere..&lt;BR /&gt;&lt;BR /&gt;U should use PRM and WLM and have one java-prosess stuck at a single cpu.&lt;BR /&gt;&lt;BR /&gt;Java should NEVER swap.&lt;BR /&gt;&lt;BR /&gt;One could also look at the Garbage collectors in the j2ee environment..&lt;BR /&gt;&lt;BR /&gt;Typical for a badly written java application is that it collects objects until one reaches the memomory limit, and then it uses ALL resouces to delete the objects it has collected..&lt;BR /&gt;&lt;BR /&gt;typical indication is running top and look at the load-average compared to idle.&lt;BR /&gt;&lt;BR /&gt;if load-average is high and idle is good u have a GC problem.&lt;BR /&gt;&lt;BR /&gt;paul</description>
      <pubDate>Wed, 22 Dec 2004 04:44:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vm-size-greater-than-allocated-for-a-java-heap/m-p/3448206#M208351</guid>
      <dc:creator>Paul Torp</dc:creator>
      <dc:date>2004-12-22T04:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: VM Size greater than allocated for a Java Heap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vm-size-greater-than-allocated-for-a-java-heap/m-p/3448207#M208352</link>
      <description>The last process in your attachment, has option -xms50m, (50 mb) it certainly does not have option for max heap size. you need to start that processes with max. heap size option.&lt;BR /&gt;&lt;BR /&gt;The other three processes are old.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Wed, 22 Dec 2004 04:45:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vm-size-greater-than-allocated-for-a-java-heap/m-p/3448207#M208352</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-12-22T04:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: VM Size greater than allocated for a Java Heap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vm-size-greater-than-allocated-for-a-java-heap/m-p/3448208#M208353</link>
      <description>Anil,&lt;BR /&gt;&lt;BR /&gt;For the last process After the URL Protocols jar file you'll find the -Xmx directive of setting to 256M (I admit that visually its kinda confusing.&lt;BR /&gt;&lt;BR /&gt;Meanhwile I have asked my system folks to upgrade the system with the attached list of patches. I have got this list after running HPjconfig.Some of them are present already but some missing.</description>
      <pubDate>Wed, 22 Dec 2004 10:03:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vm-size-greater-than-allocated-for-a-java-heap/m-p/3448208#M208353</guid>
      <dc:creator>Paddy_1</dc:creator>
      <dc:date>2004-12-22T10:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: VM Size greater than allocated for a Java Heap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vm-size-greater-than-allocated-for-a-java-heap/m-p/3448209#M208354</link>
      <description>Paddy,&lt;BR /&gt; &lt;BR /&gt;I think what you're seeing is quite usual for JVMs. First of all VSS is the virtual set size... if you see memory bottlenecks then you should have a look at the resident set size (RSS)!&lt;BR /&gt; &lt;BR /&gt;However, if you look at the memory regions in Glance you should see that the largest (VSS) regions are of type "MEMMAP/Priv". These memory mapped files are used for JVM internal memory management and they are allocated using mmap()'s  MAP_NORESERVE flag... which means even no waste of swap due to layz swap allocation.&lt;BR /&gt; &lt;BR /&gt;Best regards...&lt;BR /&gt;Dietmar.</description>
      <pubDate>Wed, 22 Dec 2004 10:47:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vm-size-greater-than-allocated-for-a-java-heap/m-p/3448209#M208354</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2004-12-22T10:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: VM Size greater than allocated for a Java Heap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vm-size-greater-than-allocated-for-a-java-heap/m-p/3448210#M208355</link>
      <description>Thanks.That might be interesting as the problem might be somewhere else then.If thats true I am looking at the wrong problem..&lt;BR /&gt;&lt;BR /&gt;How come the same behavior isnt reflected in AIX ..(probably the jvm implementations, I guess)...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Dec 2004 11:04:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vm-size-greater-than-allocated-for-a-java-heap/m-p/3448210#M208355</guid>
      <dc:creator>Paddy_1</dc:creator>
      <dc:date>2004-12-22T11:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: VM Size greater than allocated for a Java Heap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vm-size-greater-than-allocated-for-a-java-heap/m-p/3448211#M208356</link>
      <description>points-assignment would be nice..  tnx in advance.</description>
      <pubDate>Thu, 23 Dec 2004 06:47:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vm-size-greater-than-allocated-for-a-java-heap/m-p/3448211#M208356</guid>
      <dc:creator>Paul Torp</dc:creator>
      <dc:date>2004-12-23T06:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: VM Size greater than allocated for a Java Heap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vm-size-greater-than-allocated-for-a-java-heap/m-p/3448212#M208357</link>
      <description>Hi Paddy,&lt;BR /&gt;&lt;BR /&gt;I am experiencing the same problem now. Have you got the answer to this problem.&lt;BR /&gt;&lt;BR /&gt;For my case, I have JVM running on both 1.3.1.13 and 1.4.2.03. The problem happened to both JVM on itanium machine. Testing on an other HP machine does not show this behaviour. The memory is limited to 100m (-Xmx100m) but TOP show java is taking up to 900m. This cause the system to run out of memory and the application need to be restated periodically.&lt;BR /&gt;&lt;BR /&gt;Please advise.&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;jay</description>
      <pubDate>Wed, 04 Oct 2006 12:25:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vm-size-greater-than-allocated-for-a-java-heap/m-p/3448212#M208357</guid>
      <dc:creator>Ng Jiunn Jye</dc:creator>
      <dc:date>2006-10-04T12:25:55Z</dc:date>
    </item>
  </channel>
</rss>

