Article View: borland.public.cppbuilder.nativeapi
Article #10287Re: Thread creation error: not enough memory
From: Lothar
Date: Thu, 22 Apr 2004 08:25
Date: Thu, 22 Apr 2004 08:25
40 lines
2070 bytes
2070 bytes
Remy Lebeau (TeamB) schrieb: >"Lothar" <Lothar.Huppertz@gmx.de> wrote in message >news:4086ed6a$1@newsgroups.borland.com... > > > >Are you terminating and creating new threads over and over? > YES >If so, you should consider caching and reusing threads. > OK >It is expensive on system resources to destroy and recreate threads. > That surprises me. Doesn't it free all resources again? FreeOnTerminate = True; > >Do your threads have dynamically allocated memory/resources? > YES >If so, are you freeing them? > YES > >Have you checked your program for memory/resource leaks using any one of a >number of tools designed for that? Have you enabled CodeGuard? > NO, What's CodeGuard? Which program should I use for to find memory/resources leaks? I don't know any of them. thank you for your support Lothar
Technical Details
Message-ID:
<40878154$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4086696d$1@newsgroups.borland.com> <40867831@newsgroups.borland.com> <408698f3@newsgroups.borland.com> <4086abc6$1@newsgroups.borland.com> <4086ed6a$1@newsgroups.borland.com> <4086fa2b$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,c8565ce6e82c46dd X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-04-22 01:39:39 PST Date: Thu, 22 Apr 2004 10:25:52 +0200 From: Lothar <Lothar.Huppertz@gmx.de> User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de-DE, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Thread creation error: not enough memory References: <4086696d$1@newsgroups.borland.com> <40867831@newsgroups.borland.com> <408698f3@newsgroups.borland.com> <4086abc6$1@newsgroups.borland.com> <4086ed6a$1@newsgroups.borland.com> <4086fa2b$1@newsgroups.borland.com> In-Reply-To: <4086fa2b$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 80.133.140.3 Message-ID: <40878154$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1082622292 80.133.140.3 (22 Apr 2004 01:24:52 -0700) Lines: 41 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail