From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16661 invoked by alias); 7 Jul 2004 20:34:37 -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 16651 invoked from network); 7 Jul 2004 20:34:37 -0000 Received: from unknown (HELO motgate2.mot.com) (144.189.100.101) by sourceware.org with SMTP; 7 Jul 2004 20:34:37 -0000 Received: from az33exr01.mot.com (az33exr01.mot.com [10.64.251.231]) by motgate2.mot.com (Motorola/Motgate2) with ESMTP id i67KUPWK019356 for ; Wed, 7 Jul 2004 13:30:25 -0700 (MST) Received: from zmy01exm02.corp.mot.com ([10.228.200.132]) by az33exr01.mot.com (Motorola/az33exr01) with ESMTP id i67KRRsq015923 for ; Wed, 7 Jul 2004 15:27:28 -0500 Received: by ZMY01EXM02 with Internet Mail Service (5.5.2657.72) id <3MXVQDA5>; Thu, 8 Jul 2004 04:34:33 +0800 Message-ID: <47C7742111D3D511A01000D0B7B0C7C216171754@ZMY01EXM02> From: Kok YihTzye-CYK011 To: "'Jef Gearhart'" , Lavanya Swetharanyan Cc: pthreads-win32@sources.redhat.com Subject: RE: Unix vs. Windows Posix threads ! Date: Wed, 07 Jul 2004 20:34:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-SW-Source: 2004/txt/msg00088.txt.bz2 I believe the problem is not from pthread library. As I don't have leaking problem with pthread. It could be your code or WinSock. -----Original Message----- From: pthreads-win32-owner@sources.redhat.com [mailto:pthreads-win32-owner@sources.redhat.com] On Behalf Of Jef Gearhart Sent: Thursday, July 08, 2004 3:31 AM To: Lavanya Swetharanyan Cc: pthreads-win32@sources.redhat.com Subject: Re: Unix vs. Windows Posix threads ! 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. >