Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <420BD2B3.4010405@bellsouth.net> Date: Thu, 10 Feb 2005 15:31:31 -0600 From: "Charles D. Russell" Reply-To: worwor AT bellsouth DOT net User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) MIME-Version: 1.0 To: cygwin cygwin Subject: Re: Memory for large arrays in cygwin/g77 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Dante Chialvo wrote: > I have the same problem. I have g77, g95 and >grfortran (gfc) installed (see below). With >heap_chunk_in_mb set to 1024, on a machine with >1024 MiB RAM< I can run a simple Fortran >program with an array of up to ~ 1023 MiB. With >g77 & gfc the limit is 156 MiB and beyond that >it fails with something like > > gfctest.exe (844): *** MapViewOfFileEx(0x224, in_h 0x224) > failed, Win32 error 6 I was using large fortran arrays with no trouble a year ago using the -Wl,--stack option to enlarge the stack, but it is no longer working for me. Same machine, but with cygwin upgrades and with SP2 for the XP pro. Something has changed. Switching to g95 is a poor option. Both g95 and gfortran are currently beta software, and it is gfortran that is destined to replace g77 in the next version of gcc. Besides, I have the same problem in creating large arrays in C. Again, the -Wl,--stack switch that I used a year or two ago is no longer working. The problem is not just in fortran (though it is we fortran users who want humongous arrays.) -- 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/