This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: limit for # of items created with "new" ?
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Hans Horn <hannes at 2horns dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 24 Sep 2002 19:11:02 -0400 (EDT)
- Subject: Re: limit for # of items created with "new" ?
On Tue, 24 Sep 2002, Hans Horn wrote:
> 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.1). Up to about 160 000 objects
> I'm doing fine, but above the process receives a sigterm and croaks.
You'd be better off asking this question on one of the cygwin lists; I
doubt the real problem is anywhere in gcc. You may be able to duplicate
the problem using just C and malloc/free.
Jeff