<?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: process memory usage in 10.x machine in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-usage-in-10-x-machine/m-p/2682291#M908930</link>
    <description>Because it really doesn't. Part of the schedulers task is to help the system determine what the high and low memory requirements are per process. That way, when/if the process starts to demand more memory, it will already have it reserved. But if the system needs to "reclaim" it, it will.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/os/11i/mem_mgt.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/os/11i/mem_mgt.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
    <pubDate>Wed, 13 Mar 2002 15:56:29 GMT</pubDate>
    <dc:creator>harry d brown jr</dc:creator>
    <dc:date>2002-03-13T15:56:29Z</dc:date>
    <item>
      <title>process memory usage in 10.x machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-usage-in-10-x-machine/m-p/2682290#M908929</link>
      <description>I understand that when i use  "delete" operator call or free() call in c++, i'm releasing memory from the process  to the operating system(HP 10.20). &lt;BR /&gt;But why does Glance doesnt show the decrease in process memory usage .&lt;BR /&gt;even "top" command doesnt reflect the change in the mem. usage of the process?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Mar 2002 15:47:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-usage-in-10-x-machine/m-p/2682290#M908929</guid>
      <dc:creator>dheepak</dc:creator>
      <dc:date>2002-03-13T15:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: process memory usage in 10.x machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-usage-in-10-x-machine/m-p/2682291#M908930</link>
      <description>Because it really doesn't. Part of the schedulers task is to help the system determine what the high and low memory requirements are per process. That way, when/if the process starts to demand more memory, it will already have it reserved. But if the system needs to "reclaim" it, it will.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/os/11i/mem_mgt.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/os/11i/mem_mgt.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Wed, 13 Mar 2002 15:56:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-usage-in-10-x-machine/m-p/2682291#M908930</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-03-13T15:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: process memory usage in 10.x machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-usage-in-10-x-machine/m-p/2682292#M908931</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;I can't believe I just answered the same question.&lt;BR /&gt;&lt;BR /&gt;When you free process memory using free(), the memory is not returned to the OS but rather goes back on the process's heap forereuse by the same process. You can use the sbrk() system call with a negative vaue to decrease allocated process space but this is not for the faint of heart. If you use sbrk(), you must not use any of the higher-level memory allocation/free functions or absolute chaos including crashes is almost guaranteed. &lt;BR /&gt;&lt;BR /&gt;Regards, Clay&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Mar 2002 15:58:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-usage-in-10-x-machine/m-p/2682292#M908931</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-03-13T15:58:07Z</dc:date>
    </item>
  </channel>
</rss>

