delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/23/13:29:43

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <4.3.1.2.20010723124129.022a1578@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Mon, 23 Jul 2001 12:42:02 -0400
To: "Jensen, Brent" <bjensen AT coi-world DOT com>,
"'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: From Brent Jensen
In-Reply-To: <BA8A52925D25D41197DF00805FAD2C6201204689@INETSVR.coi-world
.com>
Mime-Version: 1.0
X-GCMulti: 1
X-SMTP-Server: PostCast Server 1.0.0

At 11:44 AM 7/23/2001, Jensen, Brent wrote:
>Recently I got a new pc, an Athlon with 1.5 Gb sdram memory.  The operating
>system is Windows 2000.  Upon trying to run a g77 (cygwin) fortran program
>requiring about 1 Gb physical memory, I got the following error, highlighted
>in red:
>
>administrator AT PERSEPHONE /cygdrive/c/awork1/fortran_mathcad/gd
>$ g77 blast2.f
>
>administrator AT PERSEPHONE /cygdrive/c/awork1/fortran_mathcad/gd
>$ ./a.exe
>c:\awork1\fortran_mathcad\gd\a.exe: *** Couldn't reserve space for cygwin's
>heap
>  (0x1A020000) in child, cygheap, Win32 error 487
>
>administrator AT PERSEPHONE /cygdrive/c/awork1/fortran_mathcad/gd
>$
>
>
>Do you know anything about this?  I ran some quick tests, by increasing an
>array size to see where the error occured. The test fortran program
>contained only a single array, a1.  When the array size was
>a1(66,1000,1000), the simple program compiled and ran.  When the a1 array
>size was increased to a1(67,1000,1000), the program would not compile,
>giving insufficient memory as the problem.  When a1 was set to
>a1(68,1000,1000) and above, I got the error highlighted in red.  a1 is a
>double precision array which I think requires 8 bytes per array element.
>This seemed to be consistent with the task manager memory usage performance
>window readings, that I had open and noted during fortran execution.
>Currently I am thinking I can possibly control heap space in C or C++, and
>may be able to execute the fortran program inside C or C++.  I am in the
>learning stages of C and C++ and currently looking into this possibility.
>Thanks for any light you might shed on this.



Here's the answer to your issue from the mail archives:

http://www.cygwin.com/ml/cygwin/2001-01/msg00122.html



Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019