<?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: memory leak in HP-UX 11.23 11i v2 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/memory-leak-in-hp-ux-11-23-11i-v2/m-p/5047186#M96098</link>
    <description>Thanks a lot for your response!&lt;BR /&gt;I have installed the patch PHCO_35744  and all the Dependencies,but still haven't solved the problem.&lt;BR /&gt;the following is some other information I can provide:&lt;BR /&gt;  all the sources are written in C++ syntaxï¼ &lt;BR /&gt;  we use multi-thread in the main flow;&lt;BR /&gt;  we use many dynamic-link libraries in our system; &lt;BR /&gt;  we have used some memory leak detection to check the problem,and finally found that the main memory leak is caused by failing to execute class destructor.  it's to say that we use much delete/free operation in the class destructor,and the destructor can't effect when the class variable is destroied.</description>
    <pubDate>Thu, 17 May 2007 04:16:20 GMT</pubDate>
    <dc:creator>jackie_siu</dc:creator>
    <dc:date>2007-05-17T04:16:20Z</dc:date>
    <item>
      <title>memory leak in HP-UX 11.23 11i v2</title>
      <link>https://community.hpe.com/t5/operating-system-linux/memory-leak-in-hp-ux-11-23-11i-v2/m-p/5047183#M96095</link>
      <description>Hi all,&lt;BR /&gt;  I recently move some system from Solaris to current HP-UX 11.23 v2 ,but I found a seriously memory leak in the this enviroment.because this is a real-billing system that has smoothly runned on different UNIX system,including Solaris,AIX,HP-UX 11i v1. And we never found this kind of serious problem before. &lt;BR /&gt;  The things i want to know is if there is any aC++ compiler option or environment variables can influence the memory new/delete and malloc/free function?&lt;BR /&gt;  Thanks!</description>
      <pubDate>Wed, 16 May 2007 09:55:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/memory-leak-in-hp-ux-11-23-11i-v2/m-p/5047183#M96095</guid>
      <dc:creator>jackie_siu</dc:creator>
      <dc:date>2007-05-16T09:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak in HP-UX 11.23 11i v2</title>
      <link>https://community.hpe.com/t5/operating-system-linux/memory-leak-in-hp-ux-11-23-11i-v2/m-p/5047184#M96096</link>
      <description>I would say the very first thing to look for assumming that your code is ok (and that is a big assumption because I've seen "perfect" code misbehave when a new platform exposed a weakness) would be to look for any libc patches. PHCO_35744 does fix some malloc memory leaks.</description>
      <pubDate>Wed, 16 May 2007 10:16:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/memory-leak-in-hp-ux-11-23-11i-v2/m-p/5047184#M96096</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-05-16T10:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak in HP-UX 11.23 11i v2</title>
      <link>https://community.hpe.com/t5/operating-system-linux/memory-leak-in-hp-ux-11-23-11i-v2/m-p/5047185#M96097</link>
      <description>&amp;gt;any aC++ compiler option or environment variables can influence the memory new/delete and malloc/free function?&lt;BR /&gt;&lt;BR /&gt;malloc supports some options, but none for leak checking.  See malloc(3).&lt;BR /&gt;&lt;BR /&gt;If you are on IPF, you can use +check=heap.  Or you can use gdb directly (on PA too) with the "set heap-check" and "info leak" options.</description>
      <pubDate>Wed, 16 May 2007 22:15:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/memory-leak-in-hp-ux-11-23-11i-v2/m-p/5047185#M96097</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-05-16T22:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak in HP-UX 11.23 11i v2</title>
      <link>https://community.hpe.com/t5/operating-system-linux/memory-leak-in-hp-ux-11-23-11i-v2/m-p/5047186#M96098</link>
      <description>Thanks a lot for your response!&lt;BR /&gt;I have installed the patch PHCO_35744  and all the Dependencies,but still haven't solved the problem.&lt;BR /&gt;the following is some other information I can provide:&lt;BR /&gt;  all the sources are written in C++ syntaxï¼ &lt;BR /&gt;  we use multi-thread in the main flow;&lt;BR /&gt;  we use many dynamic-link libraries in our system; &lt;BR /&gt;  we have used some memory leak detection to check the problem,and finally found that the main memory leak is caused by failing to execute class destructor.  it's to say that we use much delete/free operation in the class destructor,and the destructor can't effect when the class variable is destroied.</description>
      <pubDate>Thu, 17 May 2007 04:16:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/memory-leak-in-hp-ux-11-23-11i-v2/m-p/5047186#M96098</guid>
      <dc:creator>jackie_siu</dc:creator>
      <dc:date>2007-05-17T04:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak in HP-UX 11.23 11i v2</title>
      <link>https://community.hpe.com/t5/operating-system-linux/memory-leak-in-hp-ux-11-23-11i-v2/m-p/5047187#M96099</link>
      <description>&amp;gt;we have used some memory leak detection to check the problem,and finally found that the main memory leak is caused by failing to execute class destructor.&lt;BR /&gt;&lt;BR /&gt;That's pretty generic.  A leak detection tool should show you where it is allocates and of what type.  Of course the hard part is figuring where to delete an object.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;it's to say that we use much delete/free operation in the class destructor,and the destructor can't effect when the class variable is destroyed.&lt;BR /&gt;&lt;BR /&gt;I'm not sure I understand this?  Does your class have a bunch of pointers that also point into the heap?  If so, you need to delete all of those pointers in your destructor.</description>
      <pubDate>Thu, 17 May 2007 04:39:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/memory-leak-in-hp-ux-11-23-11i-v2/m-p/5047187#M96099</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-05-17T04:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak in HP-UX 11.23 11i v2</title>
      <link>https://community.hpe.com/t5/operating-system-linux/memory-leak-in-hp-ux-11-23-11i-v2/m-p/5047188#M96100</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;There are several memory leak issues with the OS that are resolved in the September 2006 bi-annaul QPK service pack. I recommend you test with that environment.&lt;BR /&gt;&lt;BR /&gt;The aC++ Compiler should be updated to as close to current as possible.&lt;BR /&gt;&lt;BR /&gt;But the normal cause of memory leaks is applicaiton code.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 17 May 2007 05:22:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/memory-leak-in-hp-ux-11-23-11i-v2/m-p/5047188#M96100</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-05-17T05:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak in HP-UX 11.23 11i v2</title>
      <link>https://community.hpe.com/t5/operating-system-linux/memory-leak-in-hp-ux-11-23-11i-v2/m-p/5047189#M96101</link>
      <description>thanks Steven, &lt;BR /&gt;  but where can I find the bi-annual QPK? Can you give me the link?&lt;BR /&gt;&lt;BR /&gt;thanks Dennis,  &lt;BR /&gt; the problem is the destructor can't be executed when the variable's life-cycle is expire. Even I put some cout statement in the destructor,it can't print anything. I'm not sure if you have understand what I want to express.</description>
      <pubDate>Thu, 17 May 2007 08:43:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/memory-leak-in-hp-ux-11-23-11i-v2/m-p/5047189#M96101</guid>
      <dc:creator>jackie_siu</dc:creator>
      <dc:date>2007-05-17T08:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak in HP-UX 11.23 11i v2</title>
      <link>https://community.hpe.com/t5/operating-system-linux/memory-leak-in-hp-ux-11-23-11i-v2/m-p/5047190#M96102</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;The standard HP-UX patch bundles are issued twice yearly and are cumulative.  For 11.23, use the March 2007 bundles:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/patch/releasePage.do?BC=main" target="_blank"&gt;http://www2.itrc.hp.com/service/patch/releasePage.do?BC=main&lt;/A&gt;|releaseIndexPage|&amp;amp;releaseId=0703-11.23&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 17 May 2007 08:48:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/memory-leak-in-hp-ux-11-23-11i-v2/m-p/5047190#M96102</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-05-17T08:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak in HP-UX 11.23 11i v2</title>
      <link>https://community.hpe.com/t5/operating-system-linux/memory-leak-in-hp-ux-11-23-11i-v2/m-p/5047191#M96103</link>
      <description>&amp;gt;the problem is the destructor can't be executed when the variable's life-cycle is expire.&lt;BR /&gt;&lt;BR /&gt;Why not, you don't know when that is?  That's usually why leaks occur because you don't know.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Even I put some cout statement in the destructor, it can't print anything. I'm not sure if you have understand what I want to express.&lt;BR /&gt;&lt;BR /&gt;Can't print anything useful??&lt;BR /&gt;&lt;BR /&gt;Attach an example program that demonstrates it?&lt;BR /&gt;&lt;BR /&gt;Have you used gdb's "set heap-check"?</description>
      <pubDate>Thu, 17 May 2007 17:15:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/memory-leak-in-hp-ux-11-23-11i-v2/m-p/5047191#M96103</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-05-17T17:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak in HP-UX 11.23 11i v2</title>
      <link>https://community.hpe.com/t5/operating-system-linux/memory-leak-in-hp-ux-11-23-11i-v2/m-p/5047192#M96104</link>
      <description>It's great!&lt;BR /&gt;I don't know how to express my thankfulness for you all! The problem has puzzled me for more than one monthes.&lt;BR /&gt; The application and source code has no problem. The only problem is missing of recently patch. after I have installed the patch PHCO_34944 and it's dependencies,the memory leak disappeared.&lt;BR /&gt;  Thanks again for you all!!</description>
      <pubDate>Sat, 19 May 2007 07:57:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/memory-leak-in-hp-ux-11-23-11i-v2/m-p/5047192#M96104</guid>
      <dc:creator>jackie_siu</dc:creator>
      <dc:date>2007-05-19T07:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak in HP-UX 11.23 11i v2</title>
      <link>https://community.hpe.com/t5/operating-system-linux/memory-leak-in-hp-ux-11-23-11i-v2/m-p/5047193#M96105</link>
      <description>There are several memory leak issues with the OS that are resolved in the September 2006 bi-annaul QPK service pack. I recommend you test with that environment.&lt;BR /&gt;</description>
      <pubDate>Sun, 20 May 2007 21:56:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/memory-leak-in-hp-ux-11-23-11i-v2/m-p/5047193#M96105</guid>
      <dc:creator>jackie_siu</dc:creator>
      <dc:date>2007-05-20T21:56:24Z</dc:date>
    </item>
  </channel>
</rss>

