From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30485 invoked by alias); 7 Jul 2004 19:31:35 -0000 Mailing-List: contact pthreads-win32-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: pthreads-win32-owner@sources.redhat.com Received: (qmail 30421 invoked from network); 7 Jul 2004 19:31:33 -0000 Received: from unknown (HELO tpssys.com) (209.142.86.226) by sourceware.org with SMTP; 7 Jul 2004 19:31:33 -0000 Received: from [204.62.234.26] (fist.tpssys.COM [204.62.234.26]) by tpssys.com (8.11.0/8.11.0) with ESMTP id i67JWp426903; Wed, 7 Jul 2004 14:32:51 -0500 Message-ID: <40EC4F7E.1030709@tps.com> Date: Wed, 07 Jul 2004 19:31:00 -0000 From: Jef Gearhart User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) MIME-Version: 1.0 To: Lavanya Swetharanyan CC: pthreads-win32@sources.redhat.com Subject: Re: Unix vs. Windows Posix threads ! References: <8E0EDAFE-D03D-11D8-BE46-000393C91F86@psatellite.com> <40EC389F.8060302@tps.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004/txt/msg00087.txt.bz2 Your memory leak is probably due to the handle leak. This could be pthread related or not. Handle leaks can be difficult to detect. I recommend simply reviewing your code thoroughly. Without seeing your code I cannot suggest anything more. Good luck. Lavanya Swetharanyan wrote: > Thanks. I ran the application and opened the task manager as > suggested. The thread count is constant at 6. The handle though are > increasing continuously. Even when the delta memory is 0 the handle > count is increasing. The delta mem varies from 0-4-8 K every time the > screen refreshes on its own. What does this increasing number of > handles mean ?. Is it causing the memory leak ?. I am also using > windows sockets apart from pthreads. >