Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jan 2005 15:44:11 +0100
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        huang wen hui <huanghwh@yahoo.com>
Cc:        current@freebsd.org
Subject:   Re: f77 could not allloc memory large than 512M?
Message-ID:  <20050127144411.GA28920@falcon.midgard.homeip.net>
In-Reply-To: <20050127135825.39174.qmail@web51805.mail.yahoo.com>
References:  <20050127135825.39174.qmail@web51805.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050127144411.GA28920>