<?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: Vitual memory increasing in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613251#M675656</link>
    <description>Hi:&lt;BR /&gt;&lt;BR /&gt;First, a process that 'malloc()'s memory and then subsequently 'free()'s that memory doesn't see the freed memory returned to the operating system until the process terminates.  Instead, the freed memory is returned to the process's "heap" for reuse.&lt;BR /&gt;&lt;BR /&gt;This is by design to reduce the overhead of memory allocation and deallocation and to  reduce memory fragmentation.&lt;BR /&gt;&lt;BR /&gt;I'm not sure the 4% increase you see is significant.  Memory leaks and heap fragmentation will lead to growth in a process's size.&lt;BR /&gt;&lt;BR /&gt;See this thread, with particular regard to the 'mallinfo(3)' and 'wdb':&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1351858" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1351858&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;</description>
    <pubDate>Wed, 07 Apr 2010 10:56:47 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2010-04-07T10:56:47Z</dc:date>
    <item>
      <title>Vitual memory increasing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613250#M675655</link>
      <description>All,&lt;BR /&gt;&lt;BR /&gt;in my application i used start a process it occupies virtual memory and while processing the files with the same PID it is increasing the virtual memroy size&lt;BR /&gt;&lt;BR /&gt;ex:&lt;BR /&gt;&lt;BR /&gt;i have started process x occupied memory 1 GB&lt;BR /&gt;under that i have processed multiple files it is increasing the virtual memory 1.04 GB , i have verifed the open handles before and after processing files is same and the oracle session is same&lt;BR /&gt;&lt;BR /&gt;can any body suggest me to how to know the appended memory ?</description>
      <pubDate>Wed, 07 Apr 2010 07:23:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613250#M675655</guid>
      <dc:creator>Satish Kumar Malisetti</dc:creator>
      <dc:date>2010-04-07T07:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: Vitual memory increasing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613251#M675656</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;First, a process that 'malloc()'s memory and then subsequently 'free()'s that memory doesn't see the freed memory returned to the operating system until the process terminates.  Instead, the freed memory is returned to the process's "heap" for reuse.&lt;BR /&gt;&lt;BR /&gt;This is by design to reduce the overhead of memory allocation and deallocation and to  reduce memory fragmentation.&lt;BR /&gt;&lt;BR /&gt;I'm not sure the 4% increase you see is significant.  Memory leaks and heap fragmentation will lead to growth in a process's size.&lt;BR /&gt;&lt;BR /&gt;See this thread, with particular regard to the 'mallinfo(3)' and 'wdb':&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1351858" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1351858&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Apr 2010 10:56:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613251#M675656</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-04-07T10:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Vitual memory increasing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613252#M675657</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;To find a memory leak you need a script executed in cron every 20 minutes or so.  This command is the meat of the script.&lt;BR /&gt;&lt;BR /&gt;UNIX95=1 ps -ef -o vsz,pid,ppid,state,wchan,args | sort -rn | head 10 &amp;gt;&amp;gt; outfile&lt;BR /&gt;&lt;BR /&gt;You are finding biggest 'vsz' consumers and by taking a report every 20 minutes you are observing any growth.</description>
      <pubDate>Wed, 07 Apr 2010 11:33:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613252#M675657</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2010-04-07T11:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Vitual memory increasing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613253#M675658</link>
      <description>You can't fix program x problems with HP-UX changes. The process is growing because of how it was designed. Whether that growth is correct or not requires information from the programmer. As mentioned, a 4% growth is insignificant. When the program grows to 1.5 to 2 GB, you definitely need to contact the programmer and get the code fixed (if necessary). After all, the programmer may tell you that the program is correctly designed to grow to 50 GB under some circumstances.</description>
      <pubDate>Wed, 07 Apr 2010 12:11:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613253#M675658</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-04-07T12:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Vitual memory increasing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613254#M675659</link>
      <description>&amp;gt;can anybody suggest me to how to know the appended memory?&lt;BR /&gt;&lt;BR /&gt;As JRF suggested, you can look at my replies in that thread.&lt;BR /&gt;Ideally, for every file you process, you should come back to some constant state.  But if your files are larger and need more heap, you would keep growing.&lt;BR /&gt;But if you processed that "large" file first, it should grow to that value right away.  (I'm not sure if that experiment is easy to do for you?)&lt;BR /&gt;Except if you have heap fragmentation, then the small requests split up the big blocks so nobody can use them.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Bill: You can't fix program x problems with HP-UX changes.&lt;BR /&gt;&lt;BR /&gt;Some times you can with something like MallocNextGen.  Especially with heap fragmentation, it really isn't the program's fault.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;the programmer may tell you that the program is correctly designed to grow&lt;BR /&gt;&lt;BR /&gt;In this case, the program must be remembering some state for each file.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Apr 2010 13:25:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613254#M675659</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-04-07T13:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Vitual memory increasing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613255#M675660</link>
      <description>I have tried the with malloc env varibles as posted in above link&lt;BR /&gt;&lt;BR /&gt;export _M_ARENA_OPTS=1:2024&lt;BR /&gt;export _M_SBA_OPTS=65536:50:256&lt;BR /&gt;&lt;BR /&gt;but still my virtula memory is increasing after processing file 7MB per file and &lt;BR /&gt;&lt;BR /&gt;i can't test it based on huge file first and small file later coz i can't expect the upstream file sizes&lt;BR /&gt;&lt;BR /&gt;Any suggessions please&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Apr 2010 06:21:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613255#M675660</guid>
      <dc:creator>Satish Kumar Malisetti</dc:creator>
      <dc:date>2010-04-08T06:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: Vitual memory increasing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613256#M675661</link>
      <description>Bill ,&lt;BR /&gt;&lt;BR /&gt;I am from the development team itself ,&lt;BR /&gt;as per the design virual memory should not increase , if it reaches around 8GB then component/particular process automatically go down</description>
      <pubDate>Thu, 08 Apr 2010 06:25:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613256#M675661</guid>
      <dc:creator>Satish Kumar Malisetti</dc:creator>
      <dc:date>2010-04-08T06:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Vitual memory increasing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613257#M675662</link>
      <description>&amp;gt;but still my virtual memory is increasing after processing file 7MB per file&lt;BR /&gt;&lt;BR /&gt;Then you need to first assume you have a memory leak and use gdb to find them.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;as per the design virtual memory should not increase&lt;BR /&gt;&lt;BR /&gt;Then if you don't have leaks, you have heap fragmentation.  Have you tried MallocNextGen?</description>
      <pubDate>Thu, 08 Apr 2010 06:49:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613257#M675662</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-04-08T06:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: Vitual memory increasing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613258#M675663</link>
      <description>can i have any links how to use &lt;BR /&gt;mallocnextgen and gdb please</description>
      <pubDate>Thu, 08 Apr 2010 06:52:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613258#M675663</guid>
      <dc:creator>Satish Kumar Malisetti</dc:creator>
      <dc:date>2010-04-08T06:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Vitual memory increasing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613259#M675664</link>
      <description>&amp;gt;can I have any links how to use mallocnextgen and gdb&lt;BR /&gt;&lt;BR /&gt;Did you look at all the URLs in thread JRF listed above?</description>
      <pubDate>Thu, 08 Apr 2010 07:26:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613259#M675664</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-04-08T07:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Vitual memory increasing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613260#M675665</link>
      <description>Dennis,&lt;BR /&gt;&lt;BR /&gt;I am from development background , i am unable to get clearly how to use these &lt;BR /&gt;&lt;BR /&gt;please could you expalin with a example</description>
      <pubDate>Thu, 08 Apr 2010 07:45:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613260#M675665</guid>
      <dc:creator>Satish Kumar Malisetti</dc:creator>
      <dc:date>2010-04-08T07:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Vitual memory increasing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613261#M675666</link>
      <description>&lt;!--!*#--&gt;&amp;gt;I am unable to get clearly how to use these&lt;BR /&gt;&lt;BR /&gt;Have you read the WDB document: Debugging dynamic memory usage errors using HP WDB&lt;BR /&gt;&lt;A href="http://www.hp.com/go/wdb" target="_blank"&gt;http://www.hp.com/go/wdb&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;please could you explain with a example&lt;BR /&gt;&lt;BR /&gt;Should be some examples above.&lt;BR /&gt;&lt;BR /&gt;You could call a function like this, for every file you process:&lt;BR /&gt;#include &lt;MALLOC.H&gt;&lt;BR /&gt;#include &lt;STDIO.H&gt;&lt;BR /&gt;void printMallocInfo(const char* title) {&lt;BR /&gt;  struct mallinfo info;&lt;BR /&gt;  info = mallinfo();&lt;BR /&gt;  printf("%s\n",title);&lt;BR /&gt;  printf("Memory allocation info:\n");&lt;BR /&gt;  printf("  total space in arena            = %d\n", info.arena);&lt;BR /&gt;#ifdef DETAILS&lt;BR /&gt;  printf("  number of ordinary blocks       = %d\n", info.ordblks);&lt;BR /&gt;  printf("  number of small blocks          = %d\n", info.smblks);&lt;BR /&gt;  printf("  space in holding block headers  = %d\n", info.hblkhd);&lt;BR /&gt;  printf("  number of holding blocks        = %d\n", info.hblks);&lt;BR /&gt;  printf("  space in small blocks in use    = %d\n", info.usmblks);&lt;BR /&gt;  printf("  space in free small blocks      = %d\n", info.fsmblks);&lt;BR /&gt;  printf("  space in ordinary blocks in use = %d\n", info.uordblks);&lt;BR /&gt;  printf("  space in free ordinary blocks   = %d\n", info.fordblks);&lt;BR /&gt;  printf("  keep option space penalty       = %d\n", info.keepcost);&lt;BR /&gt;#else&lt;BR /&gt;  printf("  space in use                    = %d\n",&lt;BR /&gt;         info.usmblks + info.uordblks);&lt;BR /&gt;  printf("  space free                      = %d\n",&lt;BR /&gt;         info.fsmblks + info.fordblks);&lt;BR /&gt;#endif&lt;BR /&gt;}&lt;/STDIO.H&gt;&lt;/MALLOC.H&gt;</description>
      <pubDate>Thu, 08 Apr 2010 08:01:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613261#M675666</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-04-08T08:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Vitual memory increasing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613262#M675667</link>
      <description>Dennis,&lt;BR /&gt;&lt;BR /&gt;i can't this function from my application/while file processing it it not supporting c functions or calls , it is seperate scripting language dsd &lt;BR /&gt;&lt;BR /&gt;how to proceed on this ?&lt;BR /&gt;&lt;BR /&gt;please help me&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Apr 2010 08:56:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613262#M675667</guid>
      <dc:creator>Satish Kumar Malisetti</dc:creator>
      <dc:date>2010-04-08T08:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Vitual memory increasing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613263#M675668</link>
      <description>dennis,&lt;BR /&gt;&lt;BR /&gt;(const char* title)&lt;BR /&gt;&lt;BR /&gt;colud you please let me know what is this ?</description>
      <pubDate>Thu, 08 Apr 2010 09:47:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613263#M675668</guid>
      <dc:creator>Satish Kumar Malisetti</dc:creator>
      <dc:date>2010-04-08T09:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Vitual memory increasing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613264#M675669</link>
      <description>Dennis,&lt;BR /&gt;&lt;BR /&gt;I have set the env variables as given in thread &lt;A href="http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1270727289258+28353475&amp;amp;threadId=1360331" target="_blank"&gt;http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1270727289258+28353475&amp;amp;threadId=1360331&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;set unwindonsignal on&lt;BR /&gt;set heap-check leaks on&lt;BR /&gt;set heap-check frame-count 16&lt;BR /&gt;&lt;BR /&gt;and ran the application after i checked with gdb &lt;BR /&gt;&lt;BR /&gt;it is showing no processes are running&lt;BR /&gt;&lt;BR /&gt;cbh10702 $ gdb&lt;BR /&gt;HP gdb 6.0 for HP Itanium (32 or 64 bit) and target HP-UX 11iv2 and 11iv3.&lt;BR /&gt;Copyright 1986 - 2009 Free Software Foundation, Inc.&lt;BR /&gt;Hewlett-Packard Wildebeest 6.0 (based on GDB) is covered by the&lt;BR /&gt;GNU General Public License. Type "show copying" to see the conditions to&lt;BR /&gt;change it and/or distribute copies. Type "show warranty" for warranty/support.&lt;BR /&gt;&lt;BR /&gt;(gdb) info leak&lt;BR /&gt;There is no running process.&lt;BR /&gt;&lt;BR /&gt;do i need to call this gdb from the application ?&lt;BR /&gt;&lt;BR /&gt;please suggest me</description>
      <pubDate>Thu, 08 Apr 2010 11:53:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613264#M675669</guid>
      <dc:creator>Satish Kumar Malisetti</dc:creator>
      <dc:date>2010-04-08T11:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Vitual memory increasing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613265#M675670</link>
      <description>Dennis,&lt;BR /&gt;&lt;BR /&gt;When i am ran the gdb with particular pid &lt;BR /&gt;&lt;BR /&gt;gdb -pid 4395&lt;BR /&gt;&lt;BR /&gt;i got the messages like &lt;BR /&gt;&lt;BR /&gt;Attaching to process 4395&lt;BR /&gt;Reading symbols from /fwdev/home/fwprod1/data/mediation/product/bin/cor...&lt;BR /&gt;warning: Load module /fwdev/home/fwprod1/data/mediation/product/bin/cor has been stripped.&lt;BR /&gt;Debugging information is not available.&lt;BR /&gt;&lt;BR /&gt;warning: Load module /fwdev/home/fwprod1/data/mediation/product/lib/libfworks.sl has been stripped.&lt;BR /&gt;Debugging information is not available.&lt;BR /&gt;&lt;BR /&gt;attached the log for the same &lt;BR /&gt;&lt;BR /&gt;please suggest me to proceed on this?</description>
      <pubDate>Thu, 08 Apr 2010 12:00:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613265#M675670</guid>
      <dc:creator>Satish Kumar Malisetti</dc:creator>
      <dc:date>2010-04-08T12:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Vitual memory increasing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613266#M675671</link>
      <description>&amp;gt;When I ran the gdb with particular pid&lt;BR /&gt;&amp;gt;please suggest me to proceed on this?&lt;BR /&gt;&lt;BR /&gt;Did you read the wdb document?&lt;BR /&gt;You won't be able to attach to a process instead of starting off in gdb directly:&lt;BR /&gt;(gdb) set heap-check on&lt;BR /&gt;librtc is not loaded: Either use -leaks command line option, set heap-check before starting the program, or link librtc explicitly</description>
      <pubDate>Fri, 09 Apr 2010 06:33:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613266#M675671</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-04-09T06:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Vitual memory increasing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613267#M675672</link>
      <description>Dennis,&lt;BR /&gt;&lt;BR /&gt;I have tried in different way of testing my application &lt;BR /&gt;&lt;BR /&gt;invoked the scripting and allocated memory to the paricular process and deallocated but virtual memory is incresing but not decreasing or returning &lt;BR /&gt;&lt;BR /&gt;ex:&lt;BR /&gt;cbh10702 $ dsd&lt;BR /&gt;DSD&amp;gt; getpid&lt;BR /&gt;14581&lt;BR /&gt;DSD&amp;gt; getppid&lt;BR /&gt;10481&lt;BR /&gt;DSD&amp;gt; allocate 1200000&lt;BR /&gt;DSD&amp;gt;  allocated&lt;BR /&gt;1200000&lt;BR /&gt;DSD&amp;gt; deallocate 1200000&lt;BR /&gt;DSD&amp;gt; allocated&lt;BR /&gt;0&lt;BR /&gt;&lt;BR /&gt;cbh10702 $ UNIX95= ps -ex -o sz=Kbytes -o vsz=Kbytes -o ruser,pid,ppid | grep 10481&lt;BR /&gt;   651    2624 fwsup01a 14581 10481&lt;BR /&gt;   128     548 fwsup01a 10481 10480&lt;BR /&gt;cbh10702 $      UNIX95= ps -ex -o sz=Kbytes -o vsz=Kbytes -o ruser,pid,ppid | grep 10481&lt;BR /&gt;   939    3776 fwsup01a 14581 10481&lt;BR /&gt;   128     548 fwsup01a 10481 10480&lt;BR /&gt;cbh10702 $  UNIX95= ps -ex -o sz=Kbytes -o vsz=Kbytes -o ruser,pid,ppid | grep 10481&lt;BR /&gt;   939    3776 fwsup01a 14581 10481&lt;BR /&gt;   128     548 fwsup01a 10481 10480&lt;BR /&gt;&lt;BR /&gt;after deallocation also its is not decreased the size of virtual memory&lt;BR /&gt;&lt;BR /&gt;is this memory leak ?&lt;BR /&gt;&lt;BR /&gt;please suggest&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Apr 2010 08:40:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613267#M675672</guid>
      <dc:creator>Satish Kumar Malisetti</dc:creator>
      <dc:date>2010-04-09T08:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Vitual memory increasing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613268#M675673</link>
      <description>after complete closure of the process only it is deallocating the complete memory of 3776</description>
      <pubDate>Fri, 09 Apr 2010 08:42:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613268#M675673</guid>
      <dc:creator>Satish Kumar Malisetti</dc:creator>
      <dc:date>2010-04-09T08:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Vitual memory increasing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613269#M675674</link>
      <description>&amp;gt;invoked the scripting and allocated memory to the particular process and deallocated but virtual memory is increasing but not decreasing or returning&lt;BR /&gt;&lt;BR /&gt;That's correct.  Once you malloc something the space is kept around until you need it again.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;is this memory leak?&lt;BR /&gt;&lt;BR /&gt;No.  The space is available for your next record/file processing.&lt;BR /&gt;There is a mallopt(3) option, M_REL_LAST_FBLK, that attempts to free the last region in the heap but that may not be practical in most cases.</description>
      <pubDate>Fri, 09 Apr 2010 15:37:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vitual-memory-increasing/m-p/4613269#M675674</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-04-09T15:37:56Z</dc:date>
    </item>
  </channel>
</rss>

