From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26592 invoked by alias); 7 Jul 2004 17:54:01 -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 26555 invoked from network); 7 Jul 2004 17:53:59 -0000 Received: from unknown (HELO tpssys.com) (209.142.86.226) by sourceware.org with SMTP; 7 Jul 2004 17:53:59 -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 i67HtG424296; Wed, 7 Jul 2004 12:55:16 -0500 Message-ID: <40EC389F.8060302@tps.com> Date: Wed, 07 Jul 2004 17:54: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> In-Reply-To: <8E0EDAFE-D03D-11D8-BE46-000393C91F86@psatellite.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004/txt/msg00085.txt.bz2 Hit Ctrl-Alt-Delm and the Task Manager appears. Select 'View' menu, chose 'Select Columns'. Enable 'Handle Count' 'Thread Count' columns. Are either Handles or Threads leaking from the offending process? Thanks, Jef Gearhart Lavanya Swetharanyan wrote: > I have an application that is cross-platform. The application uses > threads. It runs nicely in Linux, unix and MAC and shows no memory > leaks under Valgrind. I tried running the application on Windows. I > used the Posix threads for Windows. The application runs fine but is > constantly leaking memory (can see it in the task manager). Memory > detectors such as Boundschecker and HeapAgent are not reporting any > leaks. The application runs about a day, uses up all memory and > crashes. I am linking pthreadVC.dll into my application and using > MSVC++ on Windows XP. Any help would be appreciated. >