From owner-freebsd-current@FreeBSD.ORG Fri Jan 28 02:16:34 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DF9216A4CE for ; Fri, 28 Jan 2005 02:16:34 +0000 (GMT) Received: from web51805.mail.yahoo.com (web51805.mail.yahoo.com [206.190.38.236]) by mx1.FreeBSD.org (Postfix) with SMTP id 08BF343D55 for ; Fri, 28 Jan 2005 02:16:34 +0000 (GMT) (envelope-from huanghwh@yahoo.com) Received: (qmail 96477 invoked by uid 60001); 28 Jan 2005 02:16:33 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=dTew3IK+BeQf+GoT/aqjG210eKB7m2+8B9p5V3AhZhq17StDHFjiarW3APRK1l/KkaTaPkynsKIJaQMjw24QccydmGqoO0gqPQbzdvDO1fLXC+giUH3/LsD5vjGQ0PR5i0Iyg4xCslc+oaQwovuk26dj/4tgmlcQcJRLkOgvhCk= ; Message-ID: <20050128021633.96475.qmail@web51805.mail.yahoo.com> Received: from [211.96.21.222] by web51805.mail.yahoo.com via HTTP; Fri, 28 Jan 2005 10:16:33 CST Date: Fri, 28 Jan 2005 10:16:33 +0800 (CST) From: huang wen hui To: Erik Trulsson In-Reply-To: <20050127144411.GA28920@falcon.midgard.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Fri, 28 Jan 2005 12:53:38 +0000 cc: current@freebsd.org Subject: Re: f77 could not allloc memory large than 512M? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jan 2005 02:16:34 -0000 --- Erik Trulsson 的正文: > On Thu, Jan 27, 2005 at 09:58:24PM +0800, huang wen > hui wrote: > > hi, > > This simple program could not run under > FreeBSD/i386 > > CURRENT or STABLE: > > > > program PROG > > real A(128*1024,1024) > > end > > > > $./prog > > Abort > > > > $ldd ./prog > > ./prog: > > ./prog: signal 6 > > > > According to > > "http://www.delorie.com/gnu/docs/gcc/g77_24.html", > > I believe that f77 could not handle the array > large > > than 512M. f77 should give "too large to handle" > > message when compiling the source. Do I miss > something > > or having some option can solve this problem? > > You are probably running into the default limits for > how much resources > a process can use. By default a process can not use > more than 512MB of > data. > Read the limits(1) manpage for information on how to > change these > limits. Still not work: # limits -d 1024M ./prog Abort > > > > > -- > > Erik Trulsson > ertr1013@student.uu.se > _________________________________________________________ Do You Yahoo!? 嫌邮箱太小?雅虎电邮自助扩容! http://cn.rd.yahoo.com/mail_cn/tag/10m/*http://cn.mail.yahoo.com/event/10m.html