delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/24/13:06:10

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: "Hans Horn" <hannes AT 2horns DOT com>
Subject: limit for # of items created with "new" ?
Date: Tue, 24 Sep 2002 10:09:59 -0700
Lines: 28
Message-ID: <amq618$9kr$1@main.gmane.org>
NNTP-Posting-Host: p1.almaden.ibm.com
X-Trace: main.gmane.org 1032887144 9883 198.4.83.52 (24 Sep 2002 17:05:44 GMT)
X-Complaints-To: usenet AT main DOT gmane DOT org
NNTP-Posting-Date: Tue, 24 Sep 2002 17:05:44 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

List,

I am experiencing a problem when I need to allocate a large number of small
objects with new. (cygwin 1.3.12.4, gcc 3.2). Up to about 160 000 objects
I'm doing fine, but above the process receives a sigterm and croaks.

On occasion, even the entire bash shell becomes corrupt and needs to be shut
down.
When this happens, the bash shell complains :

*** mount version mismatch detected - 0xA820/0x1B.
You have multiple copies of cygwin1.dll on your system.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version
*should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.

Is there a maximum numbers of "new-allocatable" objects? If yes, is this
number configurable?

thx a lot,
Hans

P.s. Btw, I'm running Win2k with 512 MByte memory. When I watch the process
die in task manager, the total memory load is at about 450 MByte.





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019