<?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: Java Daemon and Memory Usage in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/java-daemon-and-memory-usage/m-p/2849765#M721365</link>
    <description>on hp-ux, if you launch the JVM without any options, you 'll have 64Mb of Max Heap size.&lt;BR /&gt;&lt;BR /&gt;If you want to use less, try :&lt;BR /&gt;&lt;BR /&gt;for 32Mb &lt;BR /&gt;#java -Xmx32 yourclass&lt;BR /&gt;&lt;BR /&gt;for 16Mb&lt;BR /&gt;#java -Xmx16 yourclass&lt;BR /&gt;&lt;BR /&gt;youb can read (-Xmx ) in this release note:&lt;BR /&gt;&lt;A href="http://www.hp.com/products1/unix/java/java2/sdkrte1_3/infolibrary/sdk_rnotes_1-3-1-07.html#additional" target="_blank"&gt;http://www.hp.com/products1/unix/java/java2/sdkrte1_3/infolibrary/sdk_rnotes_1-3-1-07.html#additional&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Pierrick</description>
    <pubDate>Fri, 22 Nov 2002 13:12:45 GMT</pubDate>
    <dc:creator>Pierrick herve</dc:creator>
    <dc:date>2002-11-22T13:12:45Z</dc:date>
    <item>
      <title>Java Daemon and Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-daemon-and-memory-usage/m-p/2849764#M721364</link>
      <description>I am running 3 Daemons coded in Java.  The classes were compiled on Windows using Microsoft compiler and a jar file created. Each daemon runs in its own process.  The daemons execute prefectly, identical to when they run as services on Windows.  The problem is that they take up 2 to 2.5 time the memory that is used on Windows.  &lt;BR /&gt;&lt;BR /&gt;Couple of points.&lt;BR /&gt;I use nohup to start the Java vm. "nohup ~~path/java  ~~path-to-class/class".  Like I said, the application works perfectly, the issue is the memory is uses which is 2 to 2.5 times the Windows usage.&lt;BR /&gt;&lt;BR /&gt;I determined memory usage by the "top" command.&lt;BR /&gt;&lt;BR /&gt;I understand that memory may be calculated differently on Windows than on UNIX.  If that is my problem, can someone explain the difference.&lt;BR /&gt;&lt;BR /&gt;If someone knows the answer, can they point me to documentation, etc as well as explain it.&lt;BR /&gt;&lt;BR /&gt;I realize next week is vacation and people will be out (myself included).  &lt;BR /&gt;&lt;BR /&gt;I appreciate any help I can get.</description>
      <pubDate>Thu, 21 Nov 2002 22:31:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-daemon-and-memory-usage/m-p/2849764#M721364</guid>
      <dc:creator>Alex MacKay</dc:creator>
      <dc:date>2002-11-21T22:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Java Daemon and Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-daemon-and-memory-usage/m-p/2849765#M721365</link>
      <description>on hp-ux, if you launch the JVM without any options, you 'll have 64Mb of Max Heap size.&lt;BR /&gt;&lt;BR /&gt;If you want to use less, try :&lt;BR /&gt;&lt;BR /&gt;for 32Mb &lt;BR /&gt;#java -Xmx32 yourclass&lt;BR /&gt;&lt;BR /&gt;for 16Mb&lt;BR /&gt;#java -Xmx16 yourclass&lt;BR /&gt;&lt;BR /&gt;youb can read (-Xmx ) in this release note:&lt;BR /&gt;&lt;A href="http://www.hp.com/products1/unix/java/java2/sdkrte1_3/infolibrary/sdk_rnotes_1-3-1-07.html#additional" target="_blank"&gt;http://www.hp.com/products1/unix/java/java2/sdkrte1_3/infolibrary/sdk_rnotes_1-3-1-07.html#additional&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Pierrick</description>
      <pubDate>Fri, 22 Nov 2002 13:12:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-daemon-and-memory-usage/m-p/2849765#M721365</guid>
      <dc:creator>Pierrick herve</dc:creator>
      <dc:date>2002-11-22T13:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: Java Daemon and Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-daemon-and-memory-usage/m-p/2849766#M721366</link>
      <description>UX 11 has much better memory stats than UX 10 and is able to place most all of the system requirements for memory in the application stats&lt;BR /&gt;&lt;BR /&gt;Windows on the other hand will have memory for system stuff (technical term) not charged to the application.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Java is a pig for memory usage compared to a compiled application.</description>
      <pubDate>Fri, 22 Nov 2002 13:49:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-daemon-and-memory-usage/m-p/2849766#M721366</guid>
      <dc:creator>John Bolene</dc:creator>
      <dc:date>2002-11-22T13:49:30Z</dc:date>
    </item>
  </channel>
</rss>

