Article View: borland.public.cppbuilder.nativeapi
Article #10283Re: Thread creation error: not enough memory
From: Lothar
Date: Wed, 21 Apr 2004 21:54
Date: Wed, 21 Apr 2004 21:54
29 lines
1896 bytes
1896 bytes
It's not more than 10 threads at a time. And if that's the problem the error message should be different. Lothar Remy Lebeau (TeamB) schrieb: >"Lothar" <Lothar.Huppertz@gmx.de> wrote in message >news:408698f3@newsgroups.borland.com... > > > >>plenty. So which limited memory does that use? >> >> > >You never said how many threads you were actually trying to run at a time. >The error in question occurs when the Win32 API function CreateThread() >fails, which means that the OS's kernel was not able to create a new thread >object. That does not necessarily mean that heap or virtual memory is at >fault, you may have simply tried to start too many threads and the OS >couldn't handle that many. > > >Gambit > > > >
Technical Details
Message-ID:
<4086ed6a$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>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-21 15:10:22 PST Date: Wed, 21 Apr 2004 23:54:46 +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> In-Reply-To: <4086abc6$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 80.133.135.124 Message-ID: <4086ed6a$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1082584426 80.133.135.124 (21 Apr 2004 14:53:46 -0700) Lines: 30 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