delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/05/18:21:06

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
From: Dante Chialvo <dchialvo AT ucla DOT edu>
Subject: Memory for large arrays in cygwin/g77
Date: Wed, 5 Jan 2005 23:09:52 +0000 (UTC)
Lines: 34
Message-ID: <loom.20050105T235631-949@post.gmane.org>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: main.gmane.org
User-Agent: Loom/3.14 (http://gmane.org/)
X-Loom-IP: 165.124.111.201 (Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322))
X-IsSubscribed: yes

I have similar problem than the one posted a while ago in

http://www.cygwin.com/ml/cygwin/2003-02/msg00842.html

Using cygwin/g77, in a PC with 1024 Mb of physical memory. 
After compiling and running the following test program 
the limit of 160 Mb cannot be surpassed. 

implicit double precision (a-h,o-z)
c ny=200 works (160 Mb), > 200 doesnt (message error see beloww)
parameter(nx=100000,ny=300)
dimension a(nx,ny)
c dimension a1(nx,ny)
write(6,*) 'megabytes= ',nx*ny*8/1d6
a(1,1)=1d0
a(nx,ny)=1d0
write(6,*) 'extremes initialized'
end

error message after running
C:\cygwin\home\dchialvo\test.exe (1972): *** MapViewOfFileEx(0x71C, in_h 
0x71C) failed, Win32 error 6

I follow each one of the recomendation described here:

http://sources.redhat.com/ml/cygwin/2003-02/msg00234.html

setting the limit at 1024 Mb,etc, the registry shows that there
1024 allocated however the problem persist, 
no more than  160 mb can be allocated.

Any suggestions will be appreciatted

Dante Chialvo


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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