Re: f77 could not allloc memory large than 512M?

From: huang wen hui <huanghwh_at_yahoo.com>
Date: Fri, 28 Jan 2005 10:16:33 +0800 (CST)
 --- Erik Trulsson <ertr1013_at_student.uu.se> 的正文:
> 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

> 
> 
> 
> 
> -- 
> <Insert your favourite quote here.>
> Erik Trulsson
> ertr1013_at_student.uu.se
>  

_________________________________________________________
Do You Yahoo!? 
嫌邮箱太小?雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/10m/*http://cn.mail.yahoo.com/event/10m.html
Received on Fri Jan 28 2005 - 01:16:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:27 UTC