This is the mail archive of the
mailing list for the Cygwin project.
limit for # of items created with "new" ?
- From: "Hans Horn" <hannes at 2horns dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 24 Sep 2002 10:09:59 -0700
- Subject: limit for # of items created with "new" ?
I am experiencing a problem when I need to allocate a large number of small
objects with new. (cygwin 220.127.116.11, 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
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
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
thx a lot,
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