From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32697 invoked by alias); 13 Jan 2005 17:39:57 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 32361 invoked from network); 13 Jan 2005 17:39:45 -0000 Received: from unknown (HELO psmtp.com) (64.18.1.212) by sourceware.org with SMTP; 13 Jan 2005 17:39:45 -0000 Received: from source ([193.95.148.142]) by exprod6ob2.obsmtp.com ([64.18.5.12]) with SMTP; Thu, 13 Jan 2005 09:39:41 PST Received: from inner-relay-3.corp.adobe.com (inner-relay-3.sea.adobe.com [153.32.251.51]) by outbound-smtp-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id j0DHjfTG005119; Thu, 13 Jan 2005 09:45:42 -0800 (PST) Received: from iplan-mn (iplan-mn.corp.adobe.com [130.248.25.5]) by inner-relay-3.corp.adobe.com (8.12.9/8.12.9) with ESMTP id j0DHdc0v014221; Thu, 13 Jan 2005 09:39:39 -0800 (PST) Received: from mn-eljay-a51m.adobe.com ([130.248.178.48]) by iplan-mn.corp.adobe.com (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0IA90057BNQ06W@iplan-mn.corp.adobe.com>; Thu, 13 Jan 2005 11:39:37 -0600 (CST) Date: Thu, 13 Jan 2005 17:39:00 -0000 From: Eljay Love-Jensen Subject: Re: memory problem In-reply-to: To: xuejun gu , gcc-help@gcc.gnu.org Message-id: <6.2.0.14.2.20050113113804.021a3a78@iplan-mn.corp.adobe.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT References: X-SW-Source: 2005-01/txt/msg00120.txt.bz2 Hi xuejun gu, Are you allocating the extremely large array on the heap, or on the stack? If you are allocating the array on the stack, make sure you have enough stack space for your large array. For Red Hat Linux, I believe that's via the ulimit command, use "ulimit -a" to see your current settings. HTH, --Eljay