Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com To: cygwin@cygwin.com From: Dante Chialvo Subject: Memory for large arrays in cygwin/g77 Date: Wed, 5 Jan 2005 23:09:52 +0000 (UTC) Lines: 34 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.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/